Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 31, 2022
1 parent 7183160 commit 49be1ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/python/test_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,10 @@ def test_python_for_in():
def test_matrix_mult_field():
x = ti.field(int, shape=())
with pytest.raises(ti.TaichiTypeError, match="unsupported operand type"):

@ti.kernel
def foo():
a = ti.Vector([1, 1, 1])
b = a * x
foo()

foo()

0 comments on commit 49be1ab

Please sign in to comment.