Skip to content

Commit bcebd84

Browse files
fix: lint error
1 parent 21149c5 commit bcebd84

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/bernoulli/cdf/benchmark/c/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static double random_uniform( const double min, const double max ) {
9494
static double benchmark( void ) {
9595
double elapsed;
9696
double p[ 100 ];
97-
double x[ 100 ];
97+
double x[ 100 ];
9898
double y;
9999
double t;
100100
int i;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ static double random_uniform( const double min, const double max ) {
2727

2828
int main( void ) {
2929
double p;
30-
double x;
30+
double x;
3131
double y;
3232
int i;
3333

3434
for ( i = 0; i < 10; i++ ) {
35-
x = random_uniform( 0.0, 5.0 );
35+
x = random_uniform( 0.0, 5.0 );
3636
p = random_uniform( 0.0, 1.0 );
3737
y = stdlib_base_dists_bernoulli_cdf( x, p );
3838
printf( "x: %lf , p: %1f, F(X;p): %lf\n", x, p , y );

0 commit comments

Comments
 (0)