diff --git a/lib/node_modules/@stdlib/math/base/special/bernoullif/lib/main.js b/lib/node_modules/@stdlib/math/base/special/bernoullif/lib/main.js index 2a22e7a0d06..187132ef279 100644 --- a/lib/node_modules/@stdlib/math/base/special/bernoullif/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/bernoullif/lib/main.js @@ -86,7 +86,7 @@ function bernoullif( n ) { if ( isnanf( n ) || !isNonNegativeInteger( n ) ) { return NaN; } - if ( n == 1 ) { + if ( n === 1 ) { return 0.5; } if ( isOdd( n ) ) {