From 95475b9c60697e7939255548334d5e5a5685012b Mon Sep 17 00:00:00 2001 From: tth Date: Sun, 4 Oct 2020 14:00:44 +0200 Subject: [PATCH] adding classif to fimgfx --- floatimg.h | 2 +- tools/fimgfx.c | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/floatimg.h b/floatimg.h index 53ef1c5..35add61 100644 --- a/floatimg.h +++ b/floatimg.h @@ -3,7 +3,7 @@ * ugly code from tTh */ -#define FIMG_VERSION 107 +#define FIMG_VERSION 108 /* * in memory descriptor diff --git a/tools/fimgfx.c b/tools/fimgfx.c index 48ace93..66027d3 100644 --- a/tools/fimgfx.c +++ b/tools/fimgfx.c @@ -59,6 +59,9 @@ for (n=0, fx=fx_list; fx->name; fx++, n++) { return -1; /* NOT FOUND */ } /* --------------------------------------------------------------------- */ +/* + * this is the mutant function + */ int do_experiment(FloatImg *S, FloatImg *D, float kf) { int foo; @@ -74,10 +77,10 @@ if (foo) { return -98; } -foo = fimg_killcolors_a(D, kf); +foo = fimg_classif_trial(S, D, 0); if (foo) { - fprintf(stderr, "%s err %d killcolors %p %f\n", __func__, - foo, S, kf); + fprintf(stderr, "%s err %d classif_trial %p\n", __func__, + foo, S); return -98; }