aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 386af16..4c63d16 100644
--- a/src/main.c
+++ b/src/main.c
@@ -241,9 +241,10 @@ ctx_save_png(
static void
ctx_best_print(
const ctx_t * const ctx,
+ const float * const bounds,
FILE * const fh
) {
- if (!km_set_print(&(ctx->best[ctx_get_max_best(ctx) - 1].set), fh)) {
+ if (!km_set_print(&(ctx->best[ctx_get_max_best(ctx) - 1].set), bounds, fh)) {
die("km_set_print()");
}
}
@@ -301,7 +302,7 @@ int main(int argc, char *argv[]) {
ctx_best_sort(&ctx);
// print best
- ctx_best_print(&ctx, stdout);
+ ctx_best_print(&ctx, set.bounds, stdout);
if (png_path) {
// save png of normalized data set and best clusters