Skip to content

Commit

Permalink
Fix expression util function
Browse files Browse the repository at this point in the history
  • Loading branch information
czpmango committed Apr 11, 2023
1 parent 0659aa2 commit e0a79e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/graph/util/ExpressionUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,7 @@ void ExpressionUtils::splitFilter(const Expression *expr,
// TODO(czp): If find any not, dont pick this operand for now
if (ExpressionUtils::findAny(operand, {Expression::Kind::kUnaryNot})) {
filterUnpickedPtr->addOperand(operand->clone());
continue;
}
if (picker(operand)) {
filterPickedPtr->addOperand(operand->clone());
Expand Down

0 comments on commit e0a79e6

Please sign in to comment.