Skip to content

Commit eca97f0

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent 9fedf44 commit eca97f0

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/math/base/special/nanmin/src

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
* // returns 4.14
3737
*/
3838
double stdlib_base_nanmin( const double x, const double y ) {
39-
if ( stdlib_base_is_nan( x ) ) {
40-
return stdlib_base_is_nan( y ) ? 0.0 / 0.0 : y;
41-
}
42-
return stdlib_base_is_nan( y ) ? x : stdlib_base_min( x, y );
39+
if ( stdlib_base_is_nan( x ) ) {
40+
return stdlib_base_is_nan( y ) ? 0.0 / 0.0 : y;
41+
}
42+
return stdlib_base_is_nan( y ) ? x : stdlib_base_min( x, y );
4343
}

0 commit comments

Comments
 (0)