oops, fabs()/abs() mixup
This commit is contained in:
parent
2f4c0da6eb
commit
8c5ef3812e
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user