diff --git a/src/scifem/solvers.py b/src/scifem/solvers.py index 90a6977..bc20fea 100644 --- a/src/scifem/solvers.py +++ b/src/scifem/solvers.py @@ -234,7 +234,7 @@ def J(self): The Jacobian blocks represented as lists of lists where each entry is a ``dolfinx.fem.Form``. """ - return self + return self._J def __del__(self): """Clean up the solver by destroying PETSc objects."""