oops, fabs()/abs() mixup

This commit is contained in:
John Cupitt 2015-05-31 18:10:34 +01:00
parent 2f4c0da6eb
commit 8c5ef3812e
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ vips_buildlut_build_init( VipsBuildlut *lut )
/* Allow for being a bit off.
*/
if( abs( v - VIPS_RINT( v ) ) > 0.001 ) {
if( fabs( v - VIPS_RINT( v ) ) > 0.001 ) {
vips_error( class->nickname,
_( "x value row %d not an int" ), y );
return( -1 );