MatVecProduct must start with PetscFunctionBegin
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/