Skip to content

Commit 6332f9b

Browse files
Update lib/node_modules/@stdlib/stats/base/dists/triangular/variance/benchmark/benchmark.native.js
Co-authored-by: Karan Anand <[email protected]> Signed-off-by: Ahmed_Kashkoush <[email protected]>
1 parent 6f52aca commit 6332f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bench( pkg+'::native', function benchmark( b ) {
4444
mode = new Float64Array( len );
4545
for ( i = 0; i < len; i++ ) {
4646
min[ i ] = uniform( 0.0, 10.0 );
47-
max[ i ] = ( uniform( 0.0, 10.0 ) ) + min[ i ];
47+
max[ i ] = uniform( min[ i ], min[ i ] + 10.0 );
4848
mode[ i ] = min[ i ] + ( uniform( 0.0, 1.0 ) * ( max[ i ] - min[ i ] ) );
4949
}
5050

0 commit comments

Comments
 (0)