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