@@ -447,7 +447,7 @@ tape( 'the function returns a function which returns a reference to the output a
447447 x1 = [ PARAM1 [ 0 ] ] ;
448448 out = zeros ( 10 , 'generic' ) ;
449449
450- actual = random ( out . length , x1 , 1 , out , 1 ) ;
450+ actual = random ( out . length , x1 , 0 , out , 1 ) ;
451451 t . strictEqual ( actual , out , 'same reference' ) ;
452452
453453 x1 = [ PARAM1 [ 0 ] , PARAM1 [ 1 ] , PARAM1 [ 2 ] ] ;
@@ -471,10 +471,10 @@ tape( 'if provided an `N` parameter less than or equal to `0`, the returned func
471471 out = zeros ( 10 , 'generic' ) ;
472472 expected = zeros ( 10 , 'generic' ) ;
473473
474- random ( - 1 , x1 , 1 , out , 1 ) ;
474+ random ( - 1 , x1 , 0 , out , 1 ) ;
475475 t . deepEqual ( out , expected , 'returns expected value' ) ;
476476
477- random ( 0 , x1 , 1 , out , 1 ) ;
477+ random ( 0 , x1 , 0 , out , 1 ) ;
478478 t . deepEqual ( out , expected , 'returns expected value' ) ;
479479
480480 x1 = [ PARAM1 [ 0 ] , PARAM1 [ 1 ] , PARAM1 [ 2 ] ] ;
@@ -502,10 +502,10 @@ tape( 'if provided an `N` parameter less than or equal to `0`, the returned func
502502 out = zeros ( 10 , 'generic' ) ;
503503 expected = zeros ( 10 , 'generic' ) ;
504504
505- random ( - 1 , x1 , 1 , toAccessorArray ( out ) , 1 ) ;
505+ random ( - 1 , x1 , 0 , toAccessorArray ( out ) , 1 ) ;
506506 t . deepEqual ( out , expected , 'returns expected value' ) ;
507507
508- random ( 0 , x1 , 1 , toAccessorArray ( out ) , 1 ) ;
508+ random ( 0 , x1 , 0 , toAccessorArray ( out ) , 1 ) ;
509509 t . deepEqual ( out , expected , 'returns expected value' ) ;
510510
511511 x1 = toAccessorArray ( [ PARAM1 [ 0 ] , PARAM1 [ 1 ] , PARAM1 [ 2 ] ] ) ;
@@ -1255,7 +1255,7 @@ tape( 'the function returns a function having an `ndarray` method which returns
12551255 x1 = [ PARAM1 [ 0 ] ] ;
12561256 out = zeros ( 10 , 'generic' ) ;
12571257
1258- actual = random . ndarray ( out . length , x1 , 1 , 0 , out , 1 , 0 ) ;
1258+ actual = random . ndarray ( out . length , x1 , 0 , 0 , out , 1 , 0 ) ;
12591259 t . strictEqual ( actual , out , 'same reference' ) ;
12601260
12611261 x1 = [ PARAM1 [ 0 ] , PARAM1 [ 1 ] , PARAM1 [ 2 ] ] ;
@@ -1279,10 +1279,10 @@ tape( 'if provided an `N` parameter less than or equal to `0`, the `ndarray` met
12791279 out = zeros ( 10 , 'generic' ) ;
12801280 expected = zeros ( 10 , 'generic' ) ;
12811281
1282- random . ndarray ( - 1 , x1 , 1 , 0 , out , 1 , 0 ) ;
1282+ random . ndarray ( - 1 , x1 , 0 , 0 , out , 1 , 0 ) ;
12831283 t . deepEqual ( out , expected , 'returns expected value' ) ;
12841284
1285- random . ndarray ( 0 , x1 , 1 , 0 , out , 1 , 0 ) ;
1285+ random . ndarray ( 0 , x1 , 0 , 0 , out , 1 , 0 ) ;
12861286 t . deepEqual ( out , expected , 'returns expected value' ) ;
12871287
12881288 x1 = [ PARAM1 [ 0 ] , PARAM1 [ 1 ] , PARAM1 [ 2 ] ] ;
@@ -1310,10 +1310,10 @@ tape( 'if provided an `N` parameter less than or equal to `0`, the `ndarray` met
13101310 out = zeros ( 10 , 'generic' ) ;
13111311 expected = zeros ( 10 , 'generic' ) ;
13121312
1313- random . ndarray ( - 1 , x1 , 1 , 0 , toAccessorArray ( out ) , 1 , 0 ) ;
1313+ random . ndarray ( - 1 , x1 , 0 , 0 , toAccessorArray ( out ) , 1 , 0 ) ;
13141314 t . deepEqual ( out , expected , 'returns expected value' ) ;
13151315
1316- random . ndarray ( 0 , x1 , 1 , 0 , toAccessorArray ( out ) , 1 , 0 ) ;
1316+ random . ndarray ( 0 , x1 , 0 , 0 , toAccessorArray ( out ) , 1 , 0 ) ;
13171317 t . deepEqual ( out , expected , 'returns expected value' ) ;
13181318
13191319 x1 = toAccessorArray ( [ PARAM1 [ 0 ] , PARAM1 [ 1 ] , PARAM1 [ 2 ] ] ) ;
0 commit comments