Skip to content

Commit ed4b068

Browse files
authored
Update test_semilinear1d.py
1 parent 088f5e2 commit ed4b068

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/algorithms/test_semilinear1d.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ def test_convergence_rate():
233233

234234
# Convergence dual gap
235235
rates = convergence_rates(dual_gaps, [1.0/n for n in ns])
236-
assert dual_gaps < 0
236+
print(dual_gaps)
237+
assert np.min(dual_gaps) < 0
237238

238239
assert np.isclose(np.median(rates), 2.0, atol=0.2)
239240

0 commit comments

Comments
 (0)