Skip to content

Commit 308526f

Browse files
committed
Implemented the changes suggested
1 parent 4e70aaf commit 308526f

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

lib/node_modules/@stdlib/stats/base/dists/normal/quantile/benchmark/c/benchmark.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ static double random_uniform( const double min, const double max ) {
9393
* @return elapsed time in seconds
9494
*/
9595
static double benchmark( void ) {
96-
int i;
97-
double y;
98-
double t;
99-
double elapsed;
100-
double p[100];
101-
double mu[100];
10296
double sigma[100];
97+
double mu[100];
98+
double p[100];
99+
double elapsed;
100+
double t;
101+
double y;
102+
int i;
103103

104104
for ( i = 0; i < 100; i++ ) {
105105
p[ i ] = random_uniform( 0.0, 1.0 );

lib/node_modules/@stdlib/stats/base/dists/normal/quantile/manifest.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"@stdlib/math/base/napi/ternary",
4242
"@stdlib/math/base/assert/is-nan",
4343
"@stdlib/math/base/special/sqrt",
44-
"@stdlib/math/base/special/erfinv"
44+
"@stdlib/math/base/special/erfinv",
45+
"@stdlib/constants/float64/sqrt_two"
4546
]
4647
},
4748
{
@@ -59,7 +60,8 @@
5960
"@stdlib/math/base/assert/is-nan",
6061
"@stdlib/math/base/special/sqrt",
6162
"@stdlib/math/base/special/erfinv",
62-
"@stdlib/constants/float64/eps"
63+
"@stdlib/constants/float64/eps",
64+
"@stdlib/constants/float64/sqrt_two"
6365
]
6466
},
6567
{
@@ -77,7 +79,8 @@
7779
"@stdlib/math/base/assert/is-nan",
7880
"@stdlib/math/base/special/sqrt",
7981
"@stdlib/math/base/special/erfinv",
80-
"@stdlib/constants/float64/eps"
82+
"@stdlib/constants/float64/eps",
83+
"@stdlib/constants/float64/sqrt_two"
8184
]
8285
}
8386
]

lib/node_modules/@stdlib/stats/base/dists/normal/quantile/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "stdlib/math/base/assert/is_nan.h"
2121
#include "stdlib/math/base/special/sqrt.h"
2222
#include "stdlib/math/base/special/erfinv.h"
23-
#include "../../../../../constants/float64/sqrt-two/include/stdlib/constants/float64/sqrt_two.h"
23+
#include "stdlib/constants/float64/sqrt_two.h"
2424

2525
/**
2626
* Evaluates the quantile function for a normal distribution with mean `mu` and standard deviation `sigma` at a probability `p`.

0 commit comments

Comments
 (0)