Skip to content

MatVecProduct must start with PetscFunctionBegin

Nicolas Marsic requested to merge petsc3.18_fix into master

Hi everyone,

The code fails when running with the latest version of petsc (3.18): it seems that MatVectProduct must start with PetscFunctionBegin; (because of the call to PetscFunctionReturn();, see [1]).

Cheers, Nicolas

[1] https://petsc.org/release/docs/manualpages/Sys/PetscFunctionBegin/

Merge request reports