From e0a79e65679dedec80d4a7c92d0b67dd071905ac Mon Sep 17 00:00:00 2001 From: "kyle.cao" Date: Tue, 11 Apr 2023 11:24:59 +0800 Subject: [PATCH] Fix expression util function --- src/graph/util/ExpressionUtils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graph/util/ExpressionUtils.cpp b/src/graph/util/ExpressionUtils.cpp index 3217e6beee0..ad7fa5b3d56 100644 --- a/src/graph/util/ExpressionUtils.cpp +++ b/src/graph/util/ExpressionUtils.cpp @@ -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());