Skip to content

Commit 7276580

Browse files
authored
bench: ensure parameter values are valid
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 033a90d commit 7276580

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/logpdf/benchmark/c

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/logpdf/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ static double benchmark( void ) {
102102

103103
for ( i = 0; i < 100; i++ ) {
104104
x[ i ] = random_uniform( 0.0, 1.0 );
105-
a[ i ] = random_uniform( 0.0, 5.0 );
106-
b[ i ] = random_uniform( 0.0, 5.0 );
105+
a[ i ] = random_uniform( 0.1, 5.0 );
106+
b[ i ] = random_uniform( 0.1, 5.0 );
107107
}
108108

109109
t = tic();

0 commit comments

Comments
 (0)