Skip to content

Commit f962f4a

Browse files
committed
chore: address commit comments for commit
1 parent e9406ad commit f962f4a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/lognormal/kurtosis/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ var i;
124124

125125
for ( i = 0; i < 10; i++ ) {
126126
mu = ( randu()*10.0 ) - 5.0;
127-
sigma = randu() * 20.0;
127+
sigma = ( randu()*4.9 ) + 0.1;
128128
y = kurtosis( mu, sigma );
129129
console.log( 'µ: %d, σ: %d, Kurt(X;µ,σ): %d', mu.toFixed( 4 ), sigma.toFixed( 4 ), y.toFixed( 4 ) );
130130
}
@@ -213,7 +213,7 @@ int main( void ) {
213213
int i;
214214
215215
for ( i = 0; i < 25; i++ ) {
216-
sigma = random_uniform( -5.0, 5.0 );
216+
sigma = random_uniform( 0.1, 5.0 );
217217
mu = random_uniform( 0.0, 20.0 );
218218
y = stdlib_base_dists_lognormal_kurtosis( mu, sigma );
219219
printf( "µ: %lf, σ: %lf, Kurt(X;µ,σ): %lf\n", mu, sigma, y );

lib/node_modules/@stdlib/stats/base/dists/lognormal/kurtosis/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int main( void ) {
3232
int i;
3333

3434
for ( i = 0; i < 25; i++ ) {
35-
sigma = random_uniform( -5.0, 5.0 );
35+
sigma = random_uniform( 0.1, 5.0 );
3636
mu = random_uniform( 0.0, 20.0 );
3737
y = stdlib_base_dists_lognormal_kurtosis( mu, sigma );
3838
printf( "µ: %lf, σ: %lf, Kurt(X;µ,σ): %lf\n", mu, sigma, y );

0 commit comments

Comments
 (0)