Changeset 13782 for issm/trunk-jpl/src/c/shared/Numerics/isnan.h
- Timestamp:
- 10/22/12 09:18:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Numerics/isnan.h
r13769 r13782 12 12 #endif 13 13 14 #include <cmath> 14 /*If include cmath instead of math, isnan on linux64 murdo does not work: */ 15 #include <math.h> 15 16 16 17 template <class T> int xIsNan(const T& X) { … … 23 24 24 25 #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_) 25 template <> int xIsNan<adouble> (const adouble& X); 26 template <> int xIsNan<adouble> (const adouble& X) { 27 return isnan(X.getValue()); 28 } 26 29 #endif 27 30
Note:
See TracChangeset
for help on using the changeset viewer.