diff --git a/Fonderie/interpolator.c b/Fonderie/interpolator.c index 1555dc7..f9aaba9 100644 --- a/Fonderie/interpolator.c +++ b/Fonderie/interpolator.c @@ -66,7 +66,7 @@ fprintf(stderr, "IdxValues array at %p\n", idxvalues); /* compute all the needed values */ for (idx=0; idxgl_pathv[idx]; - foo = get_float_metric_from_file(filename, &metrique); + foo = get_float_metric_a_from_file(filename, &metrique); if (foo) { fprintf(stderr, "%s: err %d get metric of '%s'\n", __func__, foo, filename); diff --git a/Fonderie/metriques.c b/Fonderie/metriques.c index d78116e..05e400a 100644 --- a/Fonderie/metriques.c +++ b/Fonderie/metriques.c @@ -13,7 +13,7 @@ extern int verbosity; /* * premier essai... */ -int get_float_metric(FloatImg *pimg, float *where) +int get_float_metric_a(FloatImg *pimg, float *where) { float means[4]; int foo; @@ -31,7 +31,7 @@ if (foo) { return 0; } /* -------------------------------------------------------------- */ -int get_float_metric_from_file(char *fname, float *where) +int get_float_metric_a_from_file(char *fname, float *where) { FloatImg image; int foo; @@ -43,7 +43,7 @@ if (foo) { return foo; } fval = -1.0; /* sensible default value */ -foo = get_float_metric(&image, &fval); +foo = get_float_metric_a(&image, &fval); *where = fval; // fprintf(stderr, "metric of '%s' = %f\n", fname, fval); diff --git a/Fonderie/metriques.h b/Fonderie/metriques.h index e4fcadb..5c76664 100644 --- a/Fonderie/metriques.h +++ b/Fonderie/metriques.h @@ -6,7 +6,7 @@ /* first experiments */ -int get_float_metric(FloatImg *pimg, float *where); -int get_float_metric_from_file(char *imgname, float *where); +int get_float_metric_a(FloatImg *pimg, float *where); +int get_float_metric_a_from_file(char *imgname, float *where); /* -------------------------------------------------------------- */