Skip to content

Commit 6b3a884

Browse files
Update lib/node_modules/@stdlib/stats/base/dists/arcsine/quantile/src/main.c
Co-authored-by: Philipp Burckhardt <[email protected]> Signed-off-by: Lokesh Ranjan <[email protected]>
1 parent bbf728d commit 6b3a884

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/arcsine/quantile/src

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/base/dists/arcsine/quantile/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ double stdlib_base_dists_arcsine_quantile( const double p, const double a, const
4343
return 0.0/0.0; // NaN
4444
}
4545
if ( stdlib_base_is_nan( p ) || p < 0.0 || p > 1.0 ) {
46-
return 0.0/0.0;
46+
return 0.0/0.0; // NaN
4747
}
4848
return a + ( stdlib_base_pow( stdlib_base_sin( STDLIB_CONSTANT_FLOAT64_HALF_PI*p ), 2.0 ) * ( b-a ) );
4949
}

0 commit comments

Comments
 (0)