Skip to content

Commit

Permalink
Update ngsPETSc test due to change in KrylovSolver public interface
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-ballarin committed Jun 18, 2024
1 parent 7cd3d1d commit 13f6803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngsolve/test-ngspetsc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"outputs": [],
"source": [
"solver = KrylovSolver(a, fes, solverParameters={\"ksp_type\": \"preonly\", \"pc_type\": \"lu\"})\n",
"gfu = solver.solve(F)"
"solver.solve(F.vec, gfu.vec)"
]
},
{
Expand Down

0 comments on commit 13f6803

Please sign in to comment.