We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e4fb3f commit d324160Copy full SHA for d324160
lib/node_modules/@stdlib/stats/base/dists/beta/skewness/src/main.c
@@ -18,8 +18,6 @@
18
19
#include "stdlib/stats/base/dists/beta/skewness.h"
20
#include "stdlib/math/base/special/sqrt.h"
21
-
22
23
/**
24
* Returns the skewness of a beta distribution.
25
*
@@ -35,7 +33,7 @@ double stdlib_base_dists_beta_skewness( const double alpha, const double beta )
35
33
double out;
36
34
double ab;
37
if ( alpha <= 0.0 || beta <= 0.0 ) {
38
- return 0.0/0.0;// NaN
+ return 0.0/0.0; // NaN
39
}
40
ab = alpha + beta;
41
out = 2.0 * ( beta-alpha ) * stdlib_base_sqrt( ab + 1.0 );
0 commit comments