Skip to content

Commit

Permalink
Fix data flow checking. (#4025)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <[email protected]>
  • Loading branch information
Shylock-Hg and Sophie-Xie authored Mar 17, 2022
1 parent 1004e29 commit 43a447f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/graph/optimizer/OptRule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ bool OptRule::checkDataflowDeps(OptContext *ctx,
auto optGNode = ctx->findOptGroupNodeByPlanNodeId(pnode->id());
if (!optGNode) continue;
const auto &deps = optGNode->dependencies();
if (deps.empty()) continue;
auto found = std::find(deps.begin(), deps.end(), node->group());
if (found == deps.end()) {
VLOG(2) << ctx->qctx()->symTable()->toString();
Expand Down

0 comments on commit 43a447f

Please sign in to comment.