Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strongoier committed Nov 18, 2021
1 parent 0996cf7 commit a05f04d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/python/test_ast_refactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,8 +849,7 @@ def test_listcomp():
@ti.func
def identity(dt, n: ti.template()):
return ti.Matrix([[ti.cast(int(i == j), dt) for j in range(n)]
for i in range(n)],
disable_local_tensor=1)
for i in range(n)])

@ti.kernel
def foo(n: ti.template()) -> ti.i32:
Expand Down

0 comments on commit a05f04d

Please sign in to comment.