From b12f74081a9767aaf02951f84bf08554a59fc83a Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Thu, 9 Mar 2017 17:38:41 +0000 Subject: [PATCH] petsc_base: getSubMatrix -> createSubMatrix PETSc interface change. --- pyop2/petsc_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyop2/petsc_base.py b/pyop2/petsc_base.py index 1f7ff849b..68c655e4f 100644 --- a/pyop2/petsc_base.py +++ b/pyop2/petsc_base.py @@ -607,8 +607,8 @@ def values(self): colis = cset.field_ises[self._j] base._trace.evaluate(set([self._parent]), set()) self._parent.assemble() - mat = self._parent.handle.getSubMatrix(isrow=rowis, - iscol=colis) + mat = self._parent.handle.createSubMatrix(isrow=rowis, + iscol=colis) return mat[:, :] @property