Merge pull request #1832 from kleisauke/gaussnoise-params

Fix test failure on ARM-based Windows
This commit is contained in:
John Cupitt 2020-09-25 12:40:35 +01:00 committed by GitHub
commit 08cd0a93f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -74,8 +74,10 @@ vips_fractsurf_build( VipsObject *object )
if( VIPS_OBJECT_CLASS( vips_fractsurf_parent_class )->build( object ) )
return( -1 );
if( vips_gaussnoise( &t[0],
fractsurf->width, fractsurf->height, 0.0, 1.0, NULL ) ||
if( vips_gaussnoise( &t[0], fractsurf->width, fractsurf->height,
"mean", 0.0,
"sigma", 1.0,
NULL ) ||
vips_mask_fractal( &t[1], fractsurf->width, fractsurf->height,
fractsurf->fractal_dimension, NULL ) ||
vips_freqmult( t[0], t[1], &t[2], NULL ) ||