[petsc-users] Calling MatDestroy on MatGetDiagonalBlock

Bhalla, Amneet Pal S amneetb at live.unc.edu
Tue Jan 5 17:24:33 CST 2016

On Jan 5, 2016, at 3:20 PM, Dave May <dave.mayhem23 at gmail.com<mailto:dave.mayhem23 at gmail.com>> wrote:

This statement would imply that in the absence of calling PetscObjectReference() yourself, you should not call MatDestroy() on the matrix returned

Got it. Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160105/caa86687/attachment.html>

More information about the petsc-users mailing list