Changeset 12545


Ignore:
Timestamp:
06/25/12 18:03:07 (13 years ago)
Author:
Mathieu Morlighem
Message:

missing include cmath

File:
1 edited

Legend:

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

    r12543 r12545  
    66#define _XISNAN_H_
    77
    8 #ifdef _INTEL_WIN_
    9 int isnan(IssmPDouble X);
    10 #endif
     8#include <cmath>
    119
    1210template <class T> int xIsNan(const T& X) {
    1311#ifdef _INTEL_WIN_
    14                 return (x!=x)?1:0;
     12                return (X!=X)?1:0;
    1513#else
    1614                return isnan(X);
Note: See TracChangeset for help on using the changeset viewer.