Bad doc or bug with MatNest in debug mode: Non-collective MatNestGetSubMat changed to collective since commit 3536838d
Hi,
in the doc, the function MatNestGetSubMat is marked as non-collective. However, since commit 3536838d, I think it passed to collective, but only in debug mode. Is that possible?
I think the collective calls are these ones:
PetscValidLogicalCollectiveInt(A, idxm, 2);
PetscValidLogicalCollectiveInt(A, jdxm, 3);
But i don't know how you want to fix this: Change the documentation (for debug mode only?) or change the code...
Thanks,
Eric NB: In my case, I just removed an "abusive" call to this function and all is fine now...