[petsc-dev] pushing MASSIVE change to PETSc-dev
Jed Brown
jed at 59A2.org
Thu Apr 21 10:18:23 CDT 2011
One consequence of this change is that, in general, it should no longer be
necessary to use the construct
if (x->y) {ierr = YDestroy(x->y);CHKERRQ(ierr)}
Instead, you should be able to always use
ierr = YDestroy(&x->y);CHKERRQ(ierr);
There are still some of the former around, but it should not be used in new
code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110421/20fac622/attachment.html>
More information about the petsc-dev
mailing list