Changeset 12543


Ignore:
Timestamp:
06/25/12 16:52:11 (13 years ago)
Author:
Mathieu Morlighem
Message:

isnan.cpp not needed anymore

Location:
issm/trunk-jpl/src/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/Makefile.am

    r12433 r12543  
    188188                                        ./shared/Numerics/cross.cpp\
    189189                                        ./shared/Numerics/isnan.h\
    190                                         ./shared/Numerics/isnan.cpp\
    191190                                        ./shared/Numerics/extrema.cpp\
    192191                                        ./shared/Numerics/XZvectorsToCoordinateSystem.cpp\
  • issm/trunk-jpl/src/c/io/PrintfFunction.cpp

    r12513 r12543  
    5656                printf("%s\n",message.c_str());
    5757        }
     58        return 1;
    5859}
    5960int PrintfFunction2(const string & message){
     
    6263                printf("%s",message.c_str());
    6364        }
     65        return 1;
    6466}
  • issm/trunk-jpl/src/c/shared/Numerics/isnan.h

    r12527 r12543  
    33 */
    44
    5 #ifndef _ISNAN_INTEL_H_
    6 #define _ISNAN_INTEL_H_
     5#ifndef _XISNAN_H_
     6#define _XISNAN_H_
    77
    88#ifdef _INTEL_WIN_
     
    1111
    1212template <class T> int xIsNan(const T& X) {
    13     return isnan(X);
     13#ifdef _INTEL_WIN_
     14                return (x!=x)?1:0;
     15#else
     16                return isnan(X);
     17#endif
    1418}
    1519
     
    1923}
    2024#endif
     25
    2126#endif
    22 
Note: See TracChangeset for help on using the changeset viewer.