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

Jed Brown jed at jedbrown.org
Sun Jan 19 18:16:08 CST 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140119/f96d3708/attachment.sig>


More information about the petsc-dev mailing list