We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04f3378 commit 1bb4d94Copy full SHA for 1bb4d94
lib/node_modules/@stdlib/stats/incr/mgrubbs/benchmark/benchmark.js
@@ -60,7 +60,6 @@ bench( pkg+'::options', function benchmark( b ) {
60
61
b.tic();
62
for ( i = 0; i < b.iterations; i++ ) {
63
- opts.init = i;
64
f = incrmgrubbs( (i%20)+3, opts );
65
if ( typeof f !== 'function' ) {
66
b.fail( 'should return a function' );
@@ -84,7 +83,7 @@ bench( pkg+'::accumulator', function benchmark( b ) {
84
83
85
86
t = acc( rnorm( 10.0, 5.0 ) );
87
- if ( t && typeof t.rejected === 'boolean' ) {
+ if ( t && typeof t.rejected !== 'boolean' ) {
88
b.fail( 'should be a boolean' );
89
}
90
0 commit comments