Skip to content

Commit 86b1cdc

Browse files
committed
added module
1 parent 70cece2 commit 86b1cdc

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/stats/incr/nanmrss

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/incr/nanmrss/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ accumulator = incrnanmrss( 5 );
138138

139139
// For each simulated datum, update the moving residual sum of squares...
140140
for ( i = 0; i < 100; i++ ) {
141-
v1 = ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( 0.0, 100.0 );
142-
v2 = ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( 0.0, 100.0 );
143-
accumulator( v1, v2 );
141+
v1 = ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( 0.0, 100.0 );
142+
v2 = ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( 0.0, 100.0 );
143+
accumulator( v1, v2 );
144144
}
145145
console.log( accumulator() );
146146
```

0 commit comments

Comments
 (0)