Skip to content

Commit

Permalink
Update test_nonconstant_bounds.py
Browse files Browse the repository at this point in the history
  • Loading branch information
milzj authored Feb 18, 2024
1 parent 3193b31 commit 27f60b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/algorithms/test_nonconstant_bounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_convergence_rate():

rate = x[1]
constant = np.exp(x[0])
assert np.isclose(rate, 1.0, rtol=0.0, atol=0.1)
assert np.isclose(-rate, 1.0, rtol=0.0, atol=0.1)

fig, ax = plt.subplots()
ax.plot([n for n in ns], dual_gaps)
Expand Down

0 comments on commit 27f60b1

Please sign in to comment.