We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 334f3c3 commit 1d01ed1Copy full SHA for 1d01ed1
lib/node_modules/@stdlib/stats/base/dists/levy/ctor/benchmark/benchmark.js
@@ -165,7 +165,7 @@ bench( pkg+'::set:c', function benchmark( b ) {
165
b.tic();
166
for ( i = 0; i < b.iterations; i++ ) {
167
dist.c = y[ i % len ];
168
- if ( dist.c !== y[ i % len] ) {
+ if ( dist.c !== y[ i % len ] ) {
169
b.fail( 'should return set value' );
170
}
171
@@ -294,7 +294,7 @@ bench( pkg+':mode', function benchmark( b ) {
294
x = new Float64Array( len );
295
dist = new Levy( mu, c );
296
for ( i = 0; i < len; i++ ) {
297
- x[ i ] = uniform( EPS, 100.0 );
+ x[ i ] = uniform( 1.0 + EPS, 100.0 );
298
299
300
0 commit comments