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 d5b0f41 commit c9fce47Copy full SHA for c9fce47
lib/node_modules/@stdlib/stats/base/dists/levy/pdf/benchmark/c/benchmark.c
@@ -102,9 +102,9 @@ static double benchmark( void ) {
102
int i;
103
104
for ( i = 0; i < 100; i++ ) {
105
- mu[ i ] = random_uniform( 0.0, 20.0 ) - 10.0;
106
- x[ i ] = random_uniform( 0.0, 40.0 ) + mu[ i ];
107
- c[ i ] = random_uniform( 0.0, 5.0 ) + STDLIB_CONSTANT_FLOAT64_EPS;
+ mu[ i ] = random_uniform( -10.0, 10.0 );
+ x[ i ] = random_uniform( mu[ i ], mu[ i ] + 40.0 );
+ c[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 5.0 + STDLIB_CONSTANT_FLOAT64_EPS );
108
}
109
110
t = tic();
0 commit comments