Skip to content

Commit 5551f93

Browse files
Update lib/node_modules/@stdlib/math/base/special/minmax/src/main.c
Signed-off-by: Karan Anand <[email protected]>
1 parent f8af36c commit 5551f93

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void stdlib_base_minmax( const double x, const double y, double* min, double* ma
4242
*max = 0.0 / 0.0; // NaN
4343
return;
4444
}
45-
if ( x == y && x == 0 ) {
45+
if ( x == y && x == 0.0 ) {
4646
if ( stdlib_base_is_negative_zero( x ) ) {
4747
*min = x;
4848
*max = y;

0 commit comments

Comments
 (0)