double constant in a float computation in float bilinear
This commit is contained in:
parent
2f52e4e007
commit
e509a9172f
@ -342,7 +342,7 @@ G_DEFINE_TYPE( VipsInterpolateBilinear, vips_interpolate_bilinear,
|
|||||||
float Y = y - iy; \
|
float Y = y - iy; \
|
||||||
float X = x - ix; \
|
float X = x - ix; \
|
||||||
\
|
\
|
||||||
float Yd = 1.0 - Y; \
|
float Yd = 1.0f - Y; \
|
||||||
\
|
\
|
||||||
float c4 = Y * X; \
|
float c4 = Y * X; \
|
||||||
float c2 = Yd * X; \
|
float c2 = Yd * X; \
|
||||||
|
Loading…
Reference in New Issue
Block a user