Skip to content

Commit

Permalink
Making the linter happy
Browse files Browse the repository at this point in the history
(I know I should not have pushed to master ...)
  • Loading branch information
Umberto Zerbinati committed Jul 31, 2024
1 parent 42f33cc commit 7afc820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngsPETSc/ksp.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def createFromMatrix(a, freeDofs, solverParameters):
mat = Matrix(a, (dofs, freeDofs, None), solverParameters["ngs_mat_type"])
pscMat = mat.mat
return (a, pscMat)
elif solverParameters["ngs_mat_type"] == "python":
if solverParameters["ngs_mat_type"] == "python":
_, pscMat = createFromAction(a, freeDofs, solverParameters)
return (a, pscMat)
raise ValueError("ngs_mat_type {} is not supported.".format(solverParameters["ngs_mat_type"]))
Expand Down

0 comments on commit 7afc820

Please sign in to comment.