From a6490d5668c753fdf55348c81b9237b7bf1341a7 Mon Sep 17 00:00:00 2001 From: Zhanlue Yang Date: Thu, 8 Dec 2022 11:54:53 +0800 Subject: [PATCH] Update implicit_mass_spring.py --- python/taichi/examples/simulation/implicit_mass_spring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/taichi/examples/simulation/implicit_mass_spring.py b/python/taichi/examples/simulation/implicit_mass_spring.py index 16226a6720d0f..adf47aa574c2d 100644 --- a/python/taichi/examples/simulation/implicit_mass_spring.py +++ b/python/taichi/examples/simulation/implicit_mass_spring.py @@ -252,9 +252,9 @@ def main(): args, unknowns = parser.parse_known_args() arch = args.arch if arch in ["x64", "cpu", "arm64"]: - ti.init(arch=ti.cpu, real_matrix=True, real_matrix_scalarize=True) + ti.init(arch=ti.cpu) elif arch in ["cuda", "gpu"]: - ti.init(arch=ti.cuda, real_matrix=True, real_matrix_scalarize=True) + ti.init(arch=ti.cuda) else: raise ValueError('Only CPU and CUDA backends are supported for now.')