Skip to content

Commit 46c3d20

Browse files
committed
fix: lint error
1 parent 2dcd971 commit 46c3d20

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/bernoullif/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/bernoullif/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function bernoullif( n ) {
8686
if ( isnanf( n ) || !isNonNegativeInteger( n ) ) {
8787
return NaN;
8888
}
89-
if ( n == 1 ) {
89+
if ( n === 1 ) {
9090
return 0.5;
9191
}
9292
if ( isOdd( n ) ) {

0 commit comments

Comments
 (0)