Skip to content

Commit 9b55637

Browse files
committed
fix bug
1 parent 0b8ecc4 commit 9b55637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/taichi/lang/ast/ast_transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def build_assign_basic(ctx, target, value, is_static_assign):
212212
vars, values = var, value
213213
else:
214214
vars, values = (var,), (value,)
215-
for i in range(len(var)):
215+
for i in range(len(vars)):
216216
try:
217217
vars[i]._assign(values[i])
218218
except AttributeError:

0 commit comments

Comments
 (0)