Skip to content

Commit e95582f

Browse files
Update test.js
Signed-off-by: Mohanned Ahmed <[email protected]>
1 parent 564976f commit e95582f

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/incr/nanmpcorrdist/test

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/incr/nanmpcorrdist/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ tape( 'if the window size is `1` and the means are unknown, the accumulator func
651651

652652
acc = incrnanmpcorrdist( 1 );
653653
for ( i = 0; i < 100; i++ ) {
654-
r = acc( (randu() < 0.2) ? NaN : randu()*100.0, (randu() < 0.2) ? NaN : randu()*100.0 );
654+
r = acc( randu()*100.0, randu()*100.0 );
655655
t.equal( r, 1.0, 'returns expected value' );
656656
}
657657
t.end();

0 commit comments

Comments
 (0)