Skip to content

Commit

Permalink
Limit inverse conductivity test to 3 iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Aug 30, 2024
1 parent 11380b6 commit 8132b64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/vertexonly/test_poisson_inverse_conductivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,10 @@ def test_poisson_inverse_conductivity(num_points):
= ReducedFunctional(J, )

# Estimate q using Newton-CG which evaluates the hessian action
minimize(, method='Newton-CG', options={'disp': True})
minimize(, method='Newton-CG', options={"maxiter": 3, "disp": True})


@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
@pytest.mark.parallel
@pytest.mark.markif_fixture(pytest.mark.slow, num_points="sparse")
@pytest.mark.markif_fixture(pytest.mark.slow, num_points="dense")
def test_poisson_inverse_conductivity_parallel(num_points):
test_poisson_inverse_conductivity(num_points)

0 comments on commit 8132b64

Please sign in to comment.