[petsc-users] Do I need to VecRestoreArray after VecGetArray if nothing's modified?

Dominik Szczerba dominik at itis.ethz.ch
Mon Oct 10 08:16:32 CDT 2011


If only read from a pointer obtained via VecGetArray, but not modify
any values, is VecRestoreArray still mandatory?

Thanks, Dominik


More information about the petsc-users mailing list