From 735606c7accef2eeb972bc5d8af571b13c2216ff Mon Sep 17 00:00:00 2001 From: Zhanlue Yang Date: Thu, 29 Sep 2022 12:41:11 +0800 Subject: [PATCH] Update taichi/transforms/scalarize.cpp Co-authored-by: Yi Xu --- taichi/transforms/scalarize.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/taichi/transforms/scalarize.cpp b/taichi/transforms/scalarize.cpp index 8fa79cb9e8283..b8e435672cf60 100644 --- a/taichi/transforms/scalarize.cpp +++ b/taichi/transforms/scalarize.cpp @@ -288,8 +288,6 @@ class ScalarizePointers : public BasicStmtVisitor { std::unordered_map> scalarized_local_tensor_map_; ScalarizePointers(IRNode *node) { - allow_undefined_visitor = true; - invoke_default_visitor = false; node->accept(this); modifier_.modify_ir();