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 8b80f9e commit c3ea40dCopy full SHA for c3ea40d
lib/node_modules/@stdlib/stats/base/dists/chisquare/mean/benchmark/c/benchmark.c
@@ -83,8 +83,8 @@ static double tic( void ) {
83
* @return random number
84
*/
85
static double random_uniform( const double min, const double max ) {
86
- double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
87
- return min + ( v*(max-min) );
+ double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
+ return min + ( v*(max-min) );
88
}
89
90
/**
@@ -94,7 +94,7 @@ static double random_uniform( const double min, const double max ) {
94
95
static double benchmark( void ) {
96
double elapsed;
97
- double k[ 100 ];
+ double k[ 100 ];
98
double y;
99
double t;
100
int i;
0 commit comments