<div dir="ltr">This commit seems to have caused my MatShell code to break:<div><br></div><div><div>[22]PETSC ERROR: Object is in wrong state</div><div>[22]PETSC ERROR:  Vec is locked read only, argument # 1</div><div><br></div><div>This seems to be the problem (Barry):</div><div><div><br></div><div><div>16:40 (5edff71...)|BISECTING ~/Codes/petsc$ git bisect bad</div><div>Bisecting: 0 revisions left to test after this (roughly 0 steps)</div><div>[d9ca1df42eda25bc875149d6d493aad6e204c9ff] Added VecLockPush() and VecLockPop() to make vector read only Used VecLockPush() and VecLockPop() in a couple of key locations; PCApply(), KSPSolve(), MatMult() Fixed many uses of VecGetArray() to VecGetArrayRead() Added VecGet/RestoreArrayPair() for commonly occuring pattern Added const to many locations driven by use of VecGetArrayRead()</div></div><div><br></div></div></div></div>