[petsc-dev] MatISGetLocalMat: need to MatDestroy the returned local matrice ?

Jed Brown jed at jedbrown.org
Fri May 19 22:26:35 CDT 2017


Barry Smith <bsmith at mcs.anl.gov> writes:

>> On May 19, 2017, at 7:13 PM, Jed Brown <jed at jedbrown.org> wrote:
>> 
>> Barry Smith <bsmith at mcs.anl.gov> writes:
>>>  Sure, I am not advocating not having restores but if we do have
>>>  things without restores a different name makes it clearer that it is
>>>  providing a different kind of access.
>> 
>> We should fix the code to use Restore, not work around it by creating
>> new terminology.
>
> "We"?

You wrote it and Stefano uses it.  I don't because I don't believe in
it.  ;-)

Fixed in 'jed/matisrestorelocalmat' in 'next'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170519/e5c56632/attachment.sig>


More information about the petsc-dev mailing list