Skip to content

Commit 602d9af

Browse files
Update lib/node_modules/@stdlib/stats/base/dists/triangular/ctor/benchmark/benchmark.js
Co-authored-by: Karan Anand <[email protected]> Signed-off-by: Ahmed_Kashkoush <[email protected]>
1 parent caa3fa4 commit 602d9af

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/triangular/ctor/benchmark

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ bench( pkg+'::set:a', function benchmark( bm ) {
110110
len = bm.iterations;
111111
y = new Float64Array( len );
112112
for ( i = 0; i < len; i++ ) {
113-
y[ i ] = ( 100.0*uniform( 0.0, 1.0 ) ) + EPS;
113+
y[ i ] = uniform( EPS, 100.0 );
114114
}
115115

116116
bm.tic();

0 commit comments

Comments
 (0)