[petsc-dev] Bug in MatGetSubMatrix

Stefano Zampini stefano.zampini at gmail.com
Mon Mar 9 03:43:37 CDT 2015


There's a bug in MatGetSubMatrix; the case MAT_REUSE_MATRIX is not covered
by the interface when  isrow == iscol and isrow is a stride 1 IS
representing the whole set of rows. A tentative patch is attached.

-- 
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150309/f124af59/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_getsubmatrix
Type: application/octet-stream
Size: 588 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150309/f124af59/attachment.obj>


More information about the petsc-dev mailing list