Skip to content

Commit

Permalink
Fix comm
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Oct 28, 2023
1 parent 66504a1 commit 309b887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dolfinx_mpc/utils/mpc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def tangential_proj(u, n):
_fem.petsc.set_bc(b, [bc_deac])

# Solve Linear problem
solver = PETSc.KSP().create(mesh.comm) # type: ignore
solver = PETSc.KSP().create(V.mesh.comm) # type: ignore
solver.setType("cg")
solver.rtol = 1e-8
solver.setOperators(A)
Expand Down

0 comments on commit 309b887

Please sign in to comment.