Hi, I have a PETSc matrix. How can I check for inf or nan in its values? I understand that there's a subroutine "PetscIsInfOrNanScalar" but not sure how to use it. -- Thank you. Yours sincerely, TAY wee-beng