Skip to content

Commit d142a52

Browse files
authored
chore: minor clean-up
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 923dae7 commit d142a52

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/node_modules/@stdlib/stats/base/dists/planck/mgf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,16 +211,16 @@ static double random_uniform( const double min, const double max ) {
211211
}
212212
213213
int main( void ) {
214-
double t;
215214
double lambda;
215+
double t;
216216
double y;
217217
int i;
218218
219219
for ( i = 0; i < 10; i++ ) {
220220
t = random_uniform( 0.0, 10.0 );
221221
lambda = random_uniform( 0.1, 5.0 );
222222
y = stdlib_base_dists_planck_mgf( t, lambda );
223-
printf( "t: %lf, lambda: %lf, M_X(t; lambda): %lf\n", t, lambda, y );
223+
printf( "t: %lf, λ: %lf, M_X(t;λ): %lf\n", t, lambda, y );
224224
}
225225
return 0;
226226
}

lib/node_modules/@stdlib/stats/base/dists/planck/mgf/benchmark/benchmark.native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var opts = {
3939

4040
// MAIN //
4141

42-
bench( pkg + '::native', opts, function benchmark( b ) {
42+
bench( pkg+'::native', opts, function benchmark( b ) {
4343
var lambda;
4444
var len;
4545
var t;
@@ -50,8 +50,8 @@ bench( pkg + '::native', opts, function benchmark( b ) {
5050
t = new Float64Array( len );
5151
lambda = new Float64Array( len );
5252
for ( i = 0; i < len; i++ ) {
53-
t[ i ] = uniform(0.0, 10.0);
54-
lambda[ i ] = uniform(0.1, 10.0);
53+
t[ i ] = uniform( 0.0, 10.0 );
54+
lambda[ i ] = uniform( 0.1, 10.0 );
5555
}
5656

5757
b.tic();

lib/node_modules/@stdlib/stats/base/dists/planck/mgf/examples/c/example.c

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

2828
int main( void ) {
29-
double t;
3029
double lambda;
30+
double t;
3131
double y;
3232
int i;
3333

3434
for ( i = 0; i < 10; i++ ) {
3535
t = random_uniform( 0.0, 10.0 );
3636
lambda = random_uniform( 0.1, 5.0 );
3737
y = stdlib_base_dists_planck_mgf( t, lambda );
38-
printf( "t: %lf, lambda: %lf, M_X(t; lambda): %lf\n", t, lambda, y );
38+
printf( "t: %lf, λ: %lf, M_X(t;λ): %lf\n", t, lambda, y );
3939
}
4040
return 0;
4141
}

0 commit comments

Comments
 (0)