Skip to content

Commit d324160

Browse files
authored
chore: apply suggestions from code review
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 6e4fb3f commit d324160

File tree

1 file changed

+1
-3
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/beta/skewness/src

1 file changed

+1
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/beta/skewness/src/main.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
#include "stdlib/stats/base/dists/beta/skewness.h"
2020
#include "stdlib/math/base/special/sqrt.h"
21-
22-
2321
/**
2422
* Returns the skewness of a beta distribution.
2523
*
@@ -35,7 +33,7 @@ double stdlib_base_dists_beta_skewness( const double alpha, const double beta )
3533
double out;
3634
double ab;
3735
if ( alpha <= 0.0 || beta <= 0.0 ) {
38-
return 0.0/0.0;// NaN
36+
return 0.0/0.0; // NaN
3937
}
4038
ab = alpha + beta;
4139
out = 2.0 * ( beta-alpha ) * stdlib_base_sqrt( ab + 1.0 );

0 commit comments

Comments
 (0)