Skip to content

Commit 197102e

Browse files
committed
Fix lint
1 parent c46ff60 commit 197102e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/iceberg/expression/literal.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ std::strong_ordering CompareFloat(T lhs, T rhs) {
188188
return std::strong_ordering::equivalent;
189189
}
190190
// -NaN < NaN
191-
return lhs_is_negative ? std::strong_ordering::less
192-
: std::strong_ordering::greater;
191+
return lhs_is_negative ? std::strong_ordering::less : std::strong_ordering::greater;
193192
}
194193

195194
// For non-NaN values, use standard strong ordering

0 commit comments

Comments
 (0)