Skip to content

Commit b06a6d3

Browse files
committed
style: use 0.0 instead of 0 in scale-parameter guard in stats/base/dists/cauchy/quantile/lib/factory.js
Match the float-literal style used by the four sibling factories (cdf, logcdf, logpdf, pdf). Behavior unchanged.
1 parent f8d7e04 commit b06a6d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/stats/base/dists/cauchy/quantile/lib

lib/node_modules/@stdlib/stats/base/dists/cauchy/quantile/lib/factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function factory( x0, gamma ) {
4747
if (
4848
isnan( x0 ) ||
4949
isnan( gamma ) ||
50-
gamma <= 0
50+
gamma <= 0.0
5151
) {
5252
return constantFunction( NaN );
5353
}

0 commit comments

Comments
 (0)