diff --git a/lib/fimg-math.c b/lib/fimg-math.c index a1ec02dc..4cab2443 100644 --- a/lib/fimg-math.c +++ b/lib/fimg-math.c @@ -181,6 +181,9 @@ if (fi->count < 1) { return -98; } +/* + * mmmm, is this real ? + */ coef = 1.0 / ((double)fi->count * (double)fi->fval); if (verbosity) { diff --git a/lib/t.c b/lib/t.c index 95ac90de..79987bea 100644 --- a/lib/t.c +++ b/lib/t.c @@ -147,6 +147,11 @@ maxi = (double)fimg_get_maxvalue(©); fprintf(stderr, "apres cos 01 valeur maxi = %f\n", maxi); fimg_dump_to_file(©, "cos_01.fimg", 0); +fimg_cos_010(&dessin, ©, maxi); +maxi = (double)fimg_get_maxvalue(©); +fprintf(stderr, "apres cos 010 valeur maxi = %f\n", maxi); +fimg_dump_to_file(©, "cos_010.fimg", 0); + fimg_destroy(&dessin); return -1;