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 committed Feb 10, 2024
1 parent 1e62cda commit 5fb63f6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/algorithms/test_nonconstant_bounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,7 @@ def solve_problem(n, n_ref, u_init=None, maxiter=1000, gtol=1e-15, ftol=-np.inf
def test_convergence_rate():
"""Code verification for a one-dimensional boundary value problem.
dual_gap(u_h) should converge with rate h^2
distance of u_h to true solution should converge with rate h
canonical criticality measure should converge with rate h^3/2
normal map-based criticality measure should converge with rate h
abs(dual_gap(u_h)) should converge with rate h^2
"""

n_ref = 2**16
Expand Down

0 comments on commit 5fb63f6

Please sign in to comment.