Skip to content

Commit

Permalink
Update python/taichi/lang/matrix_ops_utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Yi Xu <[email protected]>
  • Loading branch information
AD1024 and strongoier authored Nov 11, 2022
1 parent 168fc5e commit 80d733d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/taichi/lang/matrix_ops_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def check(*args, **kwargs):
else:
arg = args[i]
if logic == 'or':
passed = False
for a in arg:
passed = False
for fn in fns:
ok, _ = do_check([fn], a)
if ok:
Expand Down

0 comments on commit 80d733d

Please sign in to comment.