On Wed, 6 Mar 2013, Jed Brown wrote: > On Wed, Mar 6, 2013 at 9:39 AM, Manav Bhatia <bhatiamanav at gmail.com> wrote: > > > Thanks Jed. > > > > 3.3 compiles fine on my machine with complex support. However, the reason > > I am not using it is the modified NaN handling between 3.1 and 3.3. > > Seems like for a vector with some NaNs 3.1 returned an L2 norm as a NaN. > > But, 3.3 throws an exception. I would prefer to handle the NaN occurrence > > within my code, which is still forcing me to stick to 3.1. > > > > Is there a way to turn off this behavior in 3.3? Any other suggestions > > would be welcome. > > > > Use petsc-3.3 from here. > > https://bitbucket.org/petsc/petsc-3.3
Or grab the patch https://bitbucket.org/petsc/petsc-3.3/commits/4332ca421e80103c166f952c3405d34098901a96 and apply to your sources Satish
