From 2bbaa95f57d58559be7314b78a3c322354106c76 Mon Sep 17 00:00:00 2001 From: jim19930609 Date: Thu, 5 Jan 2023 10:49:55 +0800 Subject: [PATCH] Bug fix --- taichi/ir/frontend_ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taichi/ir/frontend_ir.cpp b/taichi/ir/frontend_ir.cpp index b29f0f44d6fdf..4fadbf195ea2e 100644 --- a/taichi/ir/frontend_ir.cpp +++ b/taichi/ir/frontend_ir.cpp @@ -38,7 +38,7 @@ FrontendSNodeOpStmt::FrontendSNodeOpStmt(ASTBuilder *builder, FrontendReturnStmt::FrontendReturnStmt(ASTBuilder *builder, const ExprGroup &group) { values = group; - auto expanded_exprs = builder->expand_expr(values.exprs); + auto expanded_exprs = builder->expand_exprs(values.exprs); values.exprs = std::move(expanded_exprs); }