[petsc-dev] d9ca1df42eda25bc875149d6d493aad6e204c9ff

Jed Brown jed at jedbrown.org
Wed Feb 4 15:49:22 CST 2015


Mark Adams <mfadams at lbl.gov> writes:

> This commit seems to have caused my MatShell code to break:
>
> [22]PETSC ERROR: Object is in wrong state
> [22]PETSC ERROR:  Vec is locked read only, argument # 1

Your MatShell code is probably using VecGetArray when it should be using
VecGetArrayRead.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150204/0f5a6db5/attachment.sig>


More information about the petsc-dev mailing list