mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-25 19:20:52 +00:00
Simplification
This commit is contained in:
parent
acd0d9b34c
commit
77ebbdaeda
@ -93,7 +93,6 @@ bool equalsOp(A a, B b)
|
|||||||
return a == b;
|
return a == b;
|
||||||
|
|
||||||
/// anything vs NaN
|
/// anything vs NaN
|
||||||
if constexpr (std::is_floating_point_v<A> || std::is_floating_point_v<B>)
|
|
||||||
if (isNaN(a) || isNaN(b))
|
if (isNaN(a) || isNaN(b))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user