File tree 8 files changed +8
-8
lines changed
lib/node_modules/@stdlib/random/base
8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
44
44
rand = arcsine . factory ( 0.0 , 1.0 , {
45
45
'seed' : arcsine . SEED
46
46
} ) ;
47
- console . log ( '\nseed: %d' , arcsine . SEED [ 0 ] ) ;
47
+ console . log ( '\nseed: %d' , rand . SEED [ 0 ] ) ;
48
48
for ( i = 0 ; i < 100 ; i ++ ) {
49
49
console . log ( rand ( ) ) ;
50
50
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
44
44
rand = bernoulli . factory ( 0.5 , {
45
45
'seed' : bernoulli . SEED
46
46
} ) ;
47
- console . log ( '\nseed: %d' , bernoulli . SEED [ 0 ] ) ;
47
+ console . log ( '\nseed: %d' , rand . SEED [ 0 ] ) ;
48
48
for ( i = 0 ; i < 100 ; i ++ ) {
49
49
console . log ( rand ( ) ) ;
50
50
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
44
44
rand = beta . factory ( 2.0 , 2.0 , {
45
45
'seed' : beta . SEED
46
46
} ) ;
47
- console . log ( '\nseed: %d' , beta . SEED [ 0 ] ) ;
47
+ console . log ( '\nseed: %d' , rand . SEED [ 0 ] ) ;
48
48
for ( i = 0 ; i < 100 ; i ++ ) {
49
49
console . log ( rand ( ) ) ;
50
50
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
44
44
rand = betaprime . factory ( 2.0 , 2.0 , {
45
45
'seed' : betaprime . SEED
46
46
} ) ;
47
- console . log ( '\nseed: %d' , betaprime . SEED [ 0 ] ) ;
47
+ console . log ( '\nseed: %d' , rand . SEED [ 0 ] ) ;
48
48
for ( i = 0 ; i < 100 ; i ++ ) {
49
49
console . log ( rand ( ) ) ;
50
50
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
44
44
rand = binomial . factory ( 20 , 0.5 , {
45
45
'seed' : binomial . SEED
46
46
} ) ;
47
- console . log ( '\nseed: %d' , binomial . SEED [ 0 ] ) ;
47
+ console . log ( '\nseed: %d' , rand . SEED [ 0 ] ) ;
48
48
for ( i = 0 ; i < 100 ; i ++ ) {
49
49
console . log ( rand ( ) ) ;
50
50
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
44
44
rand = minstd . factory ( {
45
45
'seed' : minstd . SEED
46
46
} ) ;
47
- console . log ( '\nseed: %d' , minstd . SEED [ 0 ] ) ;
47
+ console . log ( '\nseed: %d' , rand . SEED [ 0 ] ) ;
48
48
for ( i = 0 ; i < 100 ; i ++ ) {
49
49
console . log ( rand ( ) ) ;
50
50
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
44
44
rand = minstd . factory ( {
45
45
'seed' : minstd . SEED
46
46
} ) ;
47
- console . log ( '\nseed: %d' , minstd . SEED [ 0 ] ) ;
47
+ console . log ( '\nseed: %d' , rand . SEED [ 0 ] ) ;
48
48
for ( i = 0 ; i < 100 ; i ++ ) {
49
49
console . log ( rand ( ) ) ;
50
50
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
44
44
rand = mt19937 . factory ( {
45
45
'seed' : mt19937 . SEED
46
46
} ) ;
47
- console . log ( '\nseed: %d' , mt19937 . SEED [ 0 ] ) ;
47
+ console . log ( '\nseed: %d' , rand . SEED [ 0 ] ) ;
48
48
for ( i = 0 ; i < 100 ; i ++ ) {
49
49
console . log ( rand ( ) ) ;
50
50
}
You can’t perform that action at this time.
0 commit comments