@@ -447,7 +447,7 @@ tape( 'the function returns a function which returns a reference to the output a
447
447
x1 = [ PARAM1 [ 0 ] ] ;
448
448
out = zeros ( 10 , 'generic' ) ;
449
449
450
- actual = random ( out . length , x1 , 1 , out , 1 ) ;
450
+ actual = random ( out . length , x1 , 0 , out , 1 ) ;
451
451
t . strictEqual ( actual , out , 'same reference' ) ;
452
452
453
453
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
471
471
out = zeros ( 10 , 'generic' ) ;
472
472
expected = zeros ( 10 , 'generic' ) ;
473
473
474
- random ( - 1 , x1 , 1 , out , 1 ) ;
474
+ random ( - 1 , x1 , 0 , out , 1 ) ;
475
475
t . deepEqual ( out , expected , 'returns expected value' ) ;
476
476
477
- random ( 0 , x1 , 1 , out , 1 ) ;
477
+ random ( 0 , x1 , 0 , out , 1 ) ;
478
478
t . deepEqual ( out , expected , 'returns expected value' ) ;
479
479
480
480
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
502
502
out = zeros ( 10 , 'generic' ) ;
503
503
expected = zeros ( 10 , 'generic' ) ;
504
504
505
- random ( - 1 , x1 , 1 , toAccessorArray ( out ) , 1 ) ;
505
+ random ( - 1 , x1 , 0 , toAccessorArray ( out ) , 1 ) ;
506
506
t . deepEqual ( out , expected , 'returns expected value' ) ;
507
507
508
- random ( 0 , x1 , 1 , toAccessorArray ( out ) , 1 ) ;
508
+ random ( 0 , x1 , 0 , toAccessorArray ( out ) , 1 ) ;
509
509
t . deepEqual ( out , expected , 'returns expected value' ) ;
510
510
511
511
x1 = toAccessorArray ( [ PARAM1 [ 0 ] , PARAM1 [ 1 ] , PARAM1 [ 2 ] ] ) ;
@@ -1255,7 +1255,7 @@ tape( 'the function returns a function having an `ndarray` method which returns
1255
1255
x1 = [ PARAM1 [ 0 ] ] ;
1256
1256
out = zeros ( 10 , 'generic' ) ;
1257
1257
1258
- actual = random . ndarray ( out . length , x1 , 1 , 0 , out , 1 , 0 ) ;
1258
+ actual = random . ndarray ( out . length , x1 , 0 , 0 , out , 1 , 0 ) ;
1259
1259
t . strictEqual ( actual , out , 'same reference' ) ;
1260
1260
1261
1261
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
1279
1279
out = zeros ( 10 , 'generic' ) ;
1280
1280
expected = zeros ( 10 , 'generic' ) ;
1281
1281
1282
- random . ndarray ( - 1 , x1 , 1 , 0 , out , 1 , 0 ) ;
1282
+ random . ndarray ( - 1 , x1 , 0 , 0 , out , 1 , 0 ) ;
1283
1283
t . deepEqual ( out , expected , 'returns expected value' ) ;
1284
1284
1285
- random . ndarray ( 0 , x1 , 1 , 0 , out , 1 , 0 ) ;
1285
+ random . ndarray ( 0 , x1 , 0 , 0 , out , 1 , 0 ) ;
1286
1286
t . deepEqual ( out , expected , 'returns expected value' ) ;
1287
1287
1288
1288
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
1310
1310
out = zeros ( 10 , 'generic' ) ;
1311
1311
expected = zeros ( 10 , 'generic' ) ;
1312
1312
1313
- random . ndarray ( - 1 , x1 , 1 , 0 , toAccessorArray ( out ) , 1 , 0 ) ;
1313
+ random . ndarray ( - 1 , x1 , 0 , 0 , toAccessorArray ( out ) , 1 , 0 ) ;
1314
1314
t . deepEqual ( out , expected , 'returns expected value' ) ;
1315
1315
1316
- random . ndarray ( 0 , x1 , 1 , 0 , toAccessorArray ( out ) , 1 , 0 ) ;
1316
+ random . ndarray ( 0 , x1 , 0 , 0 , toAccessorArray ( out ) , 1 , 0 ) ;
1317
1317
t . deepEqual ( out , expected , 'returns expected value' ) ;
1318
1318
1319
1319
x1 = toAccessorArray ( [ PARAM1 [ 0 ] , PARAM1 [ 1 ] , PARAM1 [ 2 ] ] ) ;
0 commit comments