Skip to content

Commit d477f25

Browse files
authored
fix: example.c
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 82a6a5c commit d477f25

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/kurtosis/examples/c

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ int main( void ) {
3232
int i;
3333

3434
for ( i = 0; i < 25; i++ ) {
35-
a = random_uniform( 0.0, 10.0 ) - 5.0;
36-
b = random_uniform( 0.0, 10.0 ) - 5.0;
35+
a = rand() * 10;
36+
b = rand() * 10;
3737
y = stdlib_base_dists_kumaraswamy_kurtosis( a, b );
38-
printf( "a: %lf, b: %lf, Var(X;a,b): %lf\n", a, b, y );
38+
printf( "a: %lf, b: %lf, Kurt(X;a,b): %lf\n", a, b, y );
3939
}
4040
}

0 commit comments

Comments
 (0)