No, PETSc is all C, so that has no meaning. Matt
On Wed, Feb 11, 2009 at 1:10 PM, Yixun Liu <enjoywm at cs.wm.edu> wrote: > 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 > > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090211/d3a3fae5/attachment.htm>
