Changeset 20842


Ignore:
Timestamp:
07/01/16 17:19:20 (9 years ago)
Author:
glperez
Message:

CHG: Fixed scope issue with isnan and isinf functions.

File:
1 edited

Legend:

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

    r20669 r20842  
    1111#if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_)
    1212template <> int xIsNan<adouble> (const adouble& X){
    13   return isnan(X.getValue());
     13  return std::isnan(X.getValue());
    1414}
    1515#endif
     
    1717#if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_)
    1818template <> int xIsInf<adouble> (const adouble& X){
    19   return isinf(X.getValue());
     19  return std::isinf(X.getValue());
    2020}
    2121#endif
Note: See TracChangeset for help on using the changeset viewer.