tiny typos
This commit is contained in:
parent
dff0960e5f
commit
ee0499af1f
@ -63,7 +63,6 @@ G_DEFINE_TYPE( VipsConv, vips_conv, VIPS_TYPE_CONVOLUTION );
|
||||
static int
|
||||
vips_conv_build( VipsObject *object )
|
||||
{
|
||||
VipsObjectClass *class = VIPS_OBJECT_GET_CLASS( object );
|
||||
VipsConvolution *convolution = (VipsConvolution *) object;
|
||||
VipsConv *conv = (VipsConv *) object;
|
||||
VipsImage **t = (VipsImage **) vips_object_local_array( object, 4 );
|
||||
|
@ -742,7 +742,7 @@ vips_conva_decompose_boxes( VipsConva *conva )
|
||||
*/
|
||||
sum = 0;
|
||||
for( z = 0; z < size; z++ )
|
||||
sum += abs( coeff[z] );
|
||||
sum += fabs( coeff[z] );
|
||||
|
||||
conva->divisor = VIPS_RINT( area * scale / sum );
|
||||
conva->rounding = (conva->divisor + 1) / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user