Skip to content

Commit

Permalink
[ci] Fix approx in autodiff example test
Browse files Browse the repository at this point in the history
Fixing broken master.

 #3782 didn't catch this since it was on an older master base
commit.
  • Loading branch information
Ailing Zhang committed Jan 25, 2022
1 parent 10d80fb commit fab98f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/examples/autodiff/test_minimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ def test_minimization():
gradient_descent()

for i in range(n):
assert x[i] == ti.approx(y[i], rel=1e-3)
assert x[i] == ti._testing.approx(y[i], rel=1e-3)

0 comments on commit fab98f0

Please sign in to comment.