Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strongoier committed Dec 12, 2022
1 parent c6cccdb commit fae04bc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/python/test_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ def test():
test()


@test_utils.test()
@test_utils.test(debug=True)
def test_local_matrix_scalarize():
@ti.kernel
def func():
Expand All @@ -893,10 +893,8 @@ def func():
# Unary
x[1, 1] = ti.sqrt(x[1, 0])

# TODO: test for dynamic indexing

assert (x[0, 0] == 100.)
assert (x[0, 1] == 200.)
assert (x[0, 1] == 100.)
assert (x[1, 0] == 200.)
assert (x[1, 1] < 14.14214)
assert (x[1, 1] > 14.14213)
Expand Down

0 comments on commit fae04bc

Please sign in to comment.