Ignore:
Timestamp:
08/13/15 12:32:28 (10 years ago)
Author:
snarayan
Message:

Patches to use latest ADOL-C

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Numerics/isnan.h

    r18125 r19490  
    1313
    1414/*If include cmath instead of math, isnan on linux64 murdo does not work: */
    15 #include <math.h>
     15#include <cmath>
    1616
    1717template <class T> int xIsNan(const T& X) {
     
    1919                return (X!=X)?1:0;
    2020#else
    21                 return isnan(X);
     21                return std::isnan(X);
    2222#endif
    2323}
Note: See TracChangeset for help on using the changeset viewer.