[petsc-dev] wrong PETSc code, please read the PETSc style guide

Jed Brown jedbrown at mcs.anl.gov
Mon Sep 17 20:19:45 CDT 2012

On Mon, Sep 17, 2012 at 8:17 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

> Also never if (i == 0)   use if (!i)

Floating point exact equality (rare) is an exception to this rule.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120917/e5207a2e/attachment.html>

More information about the petsc-dev mailing list