Skip to content

Commit

Permalink
Update frontend_ir.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jim19930609 committed Nov 30, 2022
1 parent ae7b749 commit c3817e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/ir/frontend_ir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ void BinaryOpExpression::flatten(FlattenContext *ctx) {
stmt->ret_type = ret_type;
return;
}
auto rhs_stmt = flatten_rvalue(rhs, &rctx);
auto rhs_stmt = flatten_rvalue(rhs, ctx);
ctx->push_back(std::make_unique<BinaryOpStmt>(type, lhs_stmt, rhs_stmt));
ctx->stmts.back()->tb = tb;
stmt = ctx->back_stmt();
Expand Down

0 comments on commit c3817e1

Please sign in to comment.