Skip to content

Commit 51cc973

Browse files
committed
fix: correct indentation in example.c and manifest.json
1 parent 1f20141 commit 51cc973

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

lib/node_modules/@stdlib/stats/base/dists/normal/cdf/examples/c/example.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@
2222
#include <time.h>
2323

2424
static double random_uniform( const double min, const double max ) {
25-
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
26-
return min + ( v*(max-min) );
25+
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
26+
return min + ( v*(max-min) );
2727
}
2828

2929
int main( void ) {
30-
double x;
31-
double mu;
32-
double sigma;
33-
double y;
34-
int i;
30+
double x;
31+
double mu;
32+
double sigma;
33+
double y;
34+
int i;
3535

36-
for ( i = 0; i < 10; i++ ) {
37-
x = random_uniform( 0.0, 10.0 );
38-
mu = random_uniform( -5.0, 5.0 );
39-
sigma = random_uniform( 0.1, 20.0 );
40-
y = stdlib_base_dists_normal_cdf( x, mu, sigma );
41-
printf( "x: %lf, µ: %lf, σ: %lf, F(x;µ,σ): %lf\n", x, mu, sigma, y );
42-
}
36+
for ( i = 0; i < 10; i++ ) {
37+
x = random_uniform( 0.0, 10.0 );
38+
mu = random_uniform( -5.0, 5.0 );
39+
sigma = random_uniform( 0.1, 20.0 );
40+
y = stdlib_base_dists_normal_cdf( x, mu, sigma );
41+
printf( "x: %lf, µ: %lf, σ: %lf, F(x;µ,σ): %lf\n", x, mu, sigma, y );
42+
}
4343
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
"libraries": [],
5757
"libpath": [],
5858
"dependencies": [
59-
"@stdlib/math/base/assert/is-nan",
60-
"@stdlib/math/base/special/erfc",
61-
"@stdlib/math/base/special/sqrt"
59+
"@stdlib/math/base/assert/is-nan",
60+
"@stdlib/math/base/special/erfc",
61+
"@stdlib/math/base/special/sqrt"
6262
]
6363
},
6464
{

0 commit comments

Comments
 (0)