Skip to content

Commit d196732

Browse files
Update main.js
Signed-off-by: Harsh Mathur <[email protected]>
1 parent de73acf commit d196732

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/lcmf/lib

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// MODULES //
2222

23-
var isnan = require( '@stdlib/math/base/assert/is-nan' );
23+
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
2424
var gcd = require( '@stdlib/math/base/special/gcd' );
2525

2626

@@ -62,7 +62,7 @@ function lcmf( a, b ) {
6262
}
6363
// Note: we rely on `gcd` to perform further argument validation...
6464
d = gcd( a, b );
65-
if ( isnan( d ) ) {
65+
if ( isnanf( d ) ) {
6666
return d;
6767
}
6868
return (a/d) * b;

0 commit comments

Comments
 (0)