renaming a func

This commit is contained in:
phyto
2020-12-07 10:30:18 +01:00
parent da8cfd1305
commit 1420deaf5e
3 changed files with 6 additions and 6 deletions

View File

@@ -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);