Chaste Release::3.1
IsNan.hpp File Reference
#include <cmath>
Include dependency graph for IsNan.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NAN   sqrt(-1.0)

Detailed Description

Compiler workarounds, for compilers which don't include std::isnan (from C99).

Definition in file IsNan.hpp.


Define Documentation

#define NAN   sqrt(-1.0)

A NAN macro for compilers which don't have this GNU extension. The following might generate a compiler warning, but that's better than an error!

Definition at line 54 of file IsNan.hpp.

Referenced by CellwiseOdeSystemInformation< ODE_SYSTEM >::Initialise().