[petsc-dev] Matt, please don't put buggy code into PETSc

Matthew Knepley knepley at gmail.com
Sun Jan 19 18:17:34 CST 2014


On Sun, Jan 19, 2014 at 6:16 PM, Jed Brown <jed at jedbrown.org> wrote:

> Matthew Knepley <knepley at gmail.com> writes:
>
> > On Sun, Jan 19, 2014 at 4:57 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> >
> >>
> >> src/mat/examples/tests/ex18.c
> >>
> >> passes a PetscScalar to VecNorm.
> >>
> >
> > I missed it when I went over the example, and C does not check
> > typedefs, only the underlying type.
>
> You have to do a build with complex.
>

Yes, I am aware, and as I pointed out, I was checking the complex build,
but not the examples
because it is so noisy.

   Matt

-- 
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-dev/attachments/20140119/5e41260c/attachment.html>


More information about the petsc-dev mailing list