Skip to content

Commit 9a23f6f

Browse files
committed
Update examples
1 parent 46c9c27 commit 9a23f6f

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

lib/node_modules/@stdlib/random/base/arcsine/examples/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
4444
rand = arcsine.factory( 0.0, 1.0, {
4545
'seed': arcsine.SEED
4646
});
47-
console.log( '\nseed: %d', arcsine.SEED[ 0 ] );
47+
console.log( '\nseed: %d', rand.SEED[ 0 ] );
4848
for ( i = 0; i < 100; i++ ) {
4949
console.log( rand() );
5050
}

lib/node_modules/@stdlib/random/base/bernoulli/examples/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
4444
rand = bernoulli.factory( 0.5, {
4545
'seed': bernoulli.SEED
4646
});
47-
console.log( '\nseed: %d', bernoulli.SEED[ 0 ] );
47+
console.log( '\nseed: %d', rand.SEED[ 0 ] );
4848
for ( i = 0; i < 100; i++ ) {
4949
console.log( rand() );
5050
}

lib/node_modules/@stdlib/random/base/beta/examples/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
4444
rand = beta.factory( 2.0, 2.0, {
4545
'seed': beta.SEED
4646
});
47-
console.log( '\nseed: %d', beta.SEED[ 0 ] );
47+
console.log( '\nseed: %d', rand.SEED[ 0 ] );
4848
for ( i = 0; i < 100; i++ ) {
4949
console.log( rand() );
5050
}

lib/node_modules/@stdlib/random/base/betaprime/examples/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
4444
rand = betaprime.factory( 2.0, 2.0, {
4545
'seed': betaprime.SEED
4646
});
47-
console.log( '\nseed: %d', betaprime.SEED[ 0 ] );
47+
console.log( '\nseed: %d', rand.SEED[ 0 ] );
4848
for ( i = 0; i < 100; i++ ) {
4949
console.log( rand() );
5050
}

lib/node_modules/@stdlib/random/base/binomial/examples/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
4444
rand = binomial.factory( 20, 0.5, {
4545
'seed': binomial.SEED
4646
});
47-
console.log( '\nseed: %d', binomial.SEED[ 0 ] );
47+
console.log( '\nseed: %d', rand.SEED[ 0 ] );
4848
for ( i = 0; i < 100; i++ ) {
4949
console.log( rand() );
5050
}

lib/node_modules/@stdlib/random/base/minstd-shuffle/examples/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
4444
rand = minstd.factory({
4545
'seed': minstd.SEED
4646
});
47-
console.log( '\nseed: %d', minstd.SEED[ 0 ] );
47+
console.log( '\nseed: %d', rand.SEED[ 0 ] );
4848
for ( i = 0; i < 100; i++ ) {
4949
console.log( rand() );
5050
}

lib/node_modules/@stdlib/random/base/minstd/examples/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
4444
rand = minstd.factory({
4545
'seed': minstd.SEED
4646
});
47-
console.log( '\nseed: %d', minstd.SEED[ 0 ] );
47+
console.log( '\nseed: %d', rand.SEED[ 0 ] );
4848
for ( i = 0; i < 100; i++ ) {
4949
console.log( rand() );
5050
}

lib/node_modules/@stdlib/random/base/mt19937/examples/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for ( i = 0; i < 100; i++ ) {
4444
rand = mt19937.factory({
4545
'seed': mt19937.SEED
4646
});
47-
console.log( '\nseed: %d', mt19937.SEED[ 0 ] );
47+
console.log( '\nseed: %d', rand.SEED[ 0 ] );
4848
for ( i = 0; i < 100; i++ ) {
4949
console.log( rand() );
5050
}

0 commit comments

Comments
 (0)