|
|
|
@ -731,7 +731,7 @@ private:
|
|
|
|
|
{PredCondition::LessThan, "<"}, {PredCondition::Equal, "=="},
|
|
|
|
|
{PredCondition::LessEqual, "<="}, {PredCondition::GreaterThan, ">"},
|
|
|
|
|
{PredCondition::NotEqual, "!="}, {PredCondition::GreaterEqual, ">="},
|
|
|
|
|
{PredCondition::NotEqualWithNan, "!="},
|
|
|
|
|
{PredCondition::LessThanWithNan, "<"}, {PredCondition::NotEqualWithNan, "!="},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const auto& comparison{PredicateComparisonStrings.find(condition)};
|
|
|
|
@ -739,7 +739,8 @@ private:
|
|
|
|
|
"Unknown predicate comparison operation");
|
|
|
|
|
|
|
|
|
|
std::string predicate{'(' + op_a + ") " + comparison->second + " (" + op_b + ')'};
|
|
|
|
|
if (condition == PredCondition::NotEqualWithNan) {
|
|
|
|
|
if (condition == PredCondition::LessThanWithNan ||
|
|
|
|
|
condition == PredCondition::NotEqualWithNan) {
|
|
|
|
|
predicate += " || isnan(" + op_a + ") || isnan(" + op_b + ')';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|