diff --git a/lib/interpolate.c b/lib/interpolate.c index b73f54c6..c1a36b6f 100644 --- a/lib/interpolate.c +++ b/lib/interpolate.c @@ -10,7 +10,7 @@ #include "../floatimg.h" -int verbosity; +extern int verbosity; /* ---------------------------------------------------------------- */ static int gray_interpolate(FloatImg *s1, FloatImg *s2, FloatImg *d, float coef) @@ -18,7 +18,6 @@ static int gray_interpolate(FloatImg *s1, FloatImg *s2, FloatImg *d, float coef) int picsize, idx; picsize = d->width * d->height; - for (idx=0; idxR[idx] = (coef * s1->R[idx]) + ((1.0-coef) * s2->R[idx]); }