Skip to content

Commit 1d01ed1

Browse files
committed
updated EPS
Signed-off-by: hemantmm <[email protected]>
1 parent 334f3c3 commit 1d01ed1

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/levy/ctor/benchmark

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/levy/ctor/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ bench( pkg+'::set:c', function benchmark( b ) {
165165
b.tic();
166166
for ( i = 0; i < b.iterations; i++ ) {
167167
dist.c = y[ i % len ];
168-
if ( dist.c !== y[ i % len] ) {
168+
if ( dist.c !== y[ i % len ] ) {
169169
b.fail( 'should return set value' );
170170
}
171171
}
@@ -294,7 +294,7 @@ bench( pkg+':mode', function benchmark( b ) {
294294
x = new Float64Array( len );
295295
dist = new Levy( mu, c );
296296
for ( i = 0; i < len; i++ ) {
297-
x[ i ] = uniform( EPS, 100.0 );
297+
x[ i ] = uniform( 1.0 + EPS, 100.0 );
298298
}
299299

300300
b.tic();

0 commit comments

Comments
 (0)