Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sblauth committed Jul 4, 2024
1 parent 34d7437 commit 4febda3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashocs/nonlinear_solvers/snes.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def solve(self) -> fenics.Function:
raise _exceptions.PETScSNESError(converged_reason)

if hasattr(PETSc, "garbage_cleanup"):
snes.destory()
snes.destroy()
PETSc.garbage_cleanup(comm=self.comm)
PETSc.garbage_cleanup()

Expand Down

0 comments on commit 4febda3

Please sign in to comment.