Skip to content

Commit 9a7c78e

Browse files
committed
fix-lint-errors-index.js-#8183
1 parent d9cb051 commit 9a7c78e

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/ztest/examples

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/ztest/examples/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ rnorm = normal( 5.0, 4.0, {
3030
'seed': 37827
3131
});
3232
arr = [];
33-
for ( i = 0; i < arr.length; i++ ) {
34-
arr[ i ] = rnorm();
33+
for ( i = 0; i < 500; i++ ) {
34+
arr.push( rnorm() );
3535
}
3636

3737
// Test whether true mean is equal to zero:

0 commit comments

Comments
 (0)