Skip to content

Commit 308353b

Browse files
Update main.c
Signed-off-by: Harsh Mathur <[email protected]>
1 parent 8838682 commit 308353b

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/math/base/special/lcmf/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ float stdlib_base_lcmf( const float a, const float b ) {
5151
abs_b = b;
5252
}
5353
// Note: we rely on `gcd` to perform further argument validation...
54-
gcd_value=stdlib_base_gcd(abs_a,abs_b);
55-
if(stdlib_base_is_nan(gcd_value)){
54+
gcd_value=stdlib_base_gcdf(abs_a,abs_b);
55+
if(stdlib_base_is_nanf(gcd_value)){
5656
return gcd_value;
5757
}
5858

0 commit comments

Comments
 (0)