pspp.git - GNU PSPP

index : pspp.git
GNU PSPP
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/language/commands/quick-cluster.c 4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/language/commands/quick-cluster.c b/src/language/commands/quick-cluster.c
index 128130afe..cb5817006 100644
--- a/src/language/commands/quick-cluster.c
+++ b/src/language/commands/quick-cluster.c
@@ -549,9 +549,7 @@ quick_cluster_show_centers (struct Kmeans *kmeans, bool initial, const struct qc
for (size_t j = 0; j < qc->n_vars; j++)
{
double x = gsl_matrix_get (matrix, kmeans->group_order->data[i], j);
- union value v = { .f = x };
- pivot_table_put2 (table, i, j,
- pivot_value_new_var_value (qc->vars[j], &v));
+ pivot_table_put2 (table, i, j, pivot_value_new_number (x));
}
pivot_table_submit (table);
generated by cgit v1.2.3 (git 2.39.1) at 2025年10月02日 07:49:30 +0000

AltStyle によって変換されたページ (->オリジナル) /