Skip to content

Commit

Permalink
Fixed missing return identified by Paul Schwering.
Browse files Browse the repository at this point in the history
Signed-off-by: Umberto Zerbinati <[email protected]>
  • Loading branch information
Umberto Zerbinati committed Jul 31, 2024
1 parent 39b5ba8 commit 42f33cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ngsPETSc/ksp.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def createFromMatrix(a, freeDofs, solverParameters):
dofs = None
mat = Matrix(a, (dofs, freeDofs, None), solverParameters["ngs_mat_type"])
pscMat = mat.mat
return (a, pscMat)
elif solverParameters["ngs_mat_type"] == "python":
_, pscMat = createFromAction(a, freeDofs, solverParameters)
return (a, pscMat)
Expand Down

0 comments on commit 42f33cc

Please sign in to comment.