|
|
|
@ -707,6 +707,7 @@ private:
|
|
|
|
|
{PredCondition::LessEqual, "<="}, {PredCondition::GreaterThan, ">"},
|
|
|
|
|
{PredCondition::NotEqual, "!="}, {PredCondition::GreaterEqual, ">="},
|
|
|
|
|
{PredCondition::LessThanWithNan, "<"}, {PredCondition::NotEqualWithNan, "!="},
|
|
|
|
|
{PredCondition::GreaterThanWithNan, ">"},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const auto& comparison{PredicateComparisonStrings.find(condition)};
|
|
|
|
@ -715,7 +716,8 @@ private:
|
|
|
|
|
|
|
|
|
|
std::string predicate{'(' + op_a + ") " + comparison->second + " (" + op_b + ')'};
|
|
|
|
|
if (condition == PredCondition::LessThanWithNan ||
|
|
|
|
|
condition == PredCondition::NotEqualWithNan) {
|
|
|
|
|
condition == PredCondition::NotEqualWithNan ||
|
|
|
|
|
condition == PredCondition::GreaterThanWithNan) {
|
|
|
|
|
predicate += " || isnan(" + op_a + ") || isnan(" + op_b + ')';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|