Skip to content

Commit 85d0edb

Browse files
authored
Update test_nonconstant_bounds.py
1 parent 943d3a3 commit 85d0edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/algorithms/test_nonconstant_bounds.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def solve_problem(n, n_ref, u_init=None, maxiter=1000, gtol=1e-15, ftol=-np.inf
6262
L = u*v*dx
6363
A, b = assemble_system(a, L, bc)
6464

65-
solver = LUSolver(A, "petsc")
65+
solver = KrylovSolver(A, "cg")
6666
solver.solve(y.vector(), b)
6767

6868
J = assemble(0.5*inner(y-yd,y-yd)*dx)

0 commit comments

Comments
 (0)