small fixes
This commit is contained in:
parent
f8dddf23a9
commit
3a6b32dcf9
@ -160,8 +160,8 @@ G_DEFINE_TYPE( VipsRad2float, vips_rad2float, VIPS_TYPE_COLOUR_CODE );
|
||||
static void
|
||||
vips_rad2float_line( VipsColour *colour, VipsPel *out, VipsPel **in, int width )
|
||||
{
|
||||
COLOR *inp = (COLOR *) in[0];
|
||||
COLR *outbuf = (COLR *) out;
|
||||
COLR *inp = (COLR *) in[0];
|
||||
COLOR *outbuf = (COLOR *) out;
|
||||
|
||||
colr_color(outbuf[0], inp[0]);
|
||||
while (--width > 0) {
|
||||
|
@ -932,8 +932,6 @@ vips_array_double_new( const double *array, int n )
|
||||
VipsArea *area;
|
||||
double *array_copy;
|
||||
|
||||
printf( "hello, world!\n" );
|
||||
|
||||
area = vips_area_new_array( G_TYPE_DOUBLE, sizeof( double ), n );
|
||||
array_copy = vips_area_get_data( area, NULL, NULL, NULL, NULL );
|
||||
memcpy( array_copy, array, n * sizeof( double ) );
|
||||
|
Loading…
Reference in New Issue
Block a user