[Dune] [Dune-Commit] dune-grid r8017 - trunk/dune/grid/genericgeometry/test

Oliver Sander sander at mi.fu-berlin.de
Wed May 2 19:25:57 CEST 2012


Hi Jö,
many thanks; this is the best way.  Your patch has just been committed.
cheers,
Oliver

Am 02.05.2012 18:49, schrieb Jö Fahlke:
> Am Wed,  2. May 2012, 14:29:17 +0200 schrieb Jö Fahlke:
>> isnan() isn't part of the C++2003 standard, as far as I could determine.  It
>> is part of C99, but it is a macro there.  So we definitely should remove the
>> namespace from it.
>
> It's even worse than that: isnan() is a function in C++11.  I'm not sure how
> one is supposed to use it in a way that satisfies both C++11 compilers and
> older ones.
>
> The attached patch fixes this by avoiding the use of NaNs and other special
> values for volume altogether.
>
> @Oliver: Can I check this in or should I wait until you have branched?
>
> Bye,
> Jö.
>
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune




More information about the Dune mailing list