Skip to content

Commit 6a58c4f

Browse files
authored
Update test_semilinear1d_nonconstant_bounds.py
1 parent ffa3b97 commit 6a58c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/algorithms/test_semilinear1d_nonconstant_bounds.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def test_convergence_rate():
239239
# Convergence dual gap
240240
rates = convergence_rates(dual_gaps, [1.0/n for n in ns])
241241

242-
assert np.isclose(np.median(rates), 1.0, atol=0.2)
242+
assert np.isclose(np.median(rates), 2.0, atol=0.2)
243243

244244
X = np.ones((np.size(ns), 2)); X[:, 1] = np.log([1.0/n for n in ns])
245245
x, residudals, rank, s = np.linalg.lstsq(X, np.log(dual_gaps), rcond=None)

0 commit comments

Comments
 (0)