Yixun Liu Wed, 11 Feb 2009 14:10:23 -0500
Hi, I saw MatMult() is used in ex2 as, Vec u, b; ierr = MatMult(A,u,b); MatMult is defined as, PetscErrorCode MatMult(Mat mat,Vec x,Vec y)
Should be PetscErrorCode MatMult(Mat mat,Vec x,Vec &y)? Thanks. Yixun