small bugfixes
This commit is contained in:
parent
7a42449868
commit
6631fab25c
@ -184,7 +184,7 @@ vips_measure_build( VipsObject *object )
|
|||||||
"avg = %g, sdev = %g" ),
|
"avg = %g, sdev = %g" ),
|
||||||
i, j, avg, dev );
|
i, j, avg, dev );
|
||||||
|
|
||||||
*ARY( measure->out, b, x + y * measure->h ) =
|
*ARY( measure->out, b, i + j * measure->h ) =
|
||||||
avg;
|
avg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -396,6 +396,7 @@ vips_extract_band_class_init( VipsExtractBandClass *class )
|
|||||||
static void
|
static void
|
||||||
vips_extract_band_init( VipsExtractBand *extract )
|
vips_extract_band_init( VipsExtractBand *extract )
|
||||||
{
|
{
|
||||||
|
extract->n = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user