[petsc-dev] MatAXPY does not increase state

Jose E. Roman jroman at dsic.upv.es
Wed Apr 2 11:06:56 CDT 2014


Hi.

We are having problems since the MatStructure flag was removed from KSPSetOperators.
https://bitbucket.org/petsc/petsc/commits/b37f9b8

Tracking our problem leads to blame MatAXPY, which does not increase the state of the first Mat argument. The attached patch fixes the problem for us. Is this the right thing to do?

Jose

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-mataxpy
Type: application/octet-stream
Size: 1360 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140402/3d17a0c0/attachment.obj>


More information about the petsc-dev mailing list