Changeset 12583
- Timestamp:
 - 06/29/12 11:04:26 (13 years ago)
 - Location:
 - issm/trunk-jpl/src/c/shared/Numerics
 - Files:
 - 
      
- 2 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/src/c/shared/Numerics/isnan.cpp
r12529 r12583 1 1 /*This routine only used by Intel compler: */ 2 #ifdef _INTEL_WIN_3 2 4 int xIsNan<IssmDouble>(IssmPDouble x){ 5 return (x!=x)?1:0; 3 #include "../../include/include.h" 4 #include "isnan.h" 5 6 #ifdef _HAVE_ADOLC_ 7 template <> int xIsNan<adouble> (const adouble& X) { 8 return isnan(X.getValue()); 6 9 } 7 10 #endif 8  - 
      
issm/trunk-jpl/src/c/shared/Numerics/isnan.h
r12545 r12583 17 17 18 18 #ifdef _HAVE_ADOLC_ 19 template <> int xIsNan<adouble> (const adouble& X) { 20 return isnan(X.getValue()); 21 } 19 template <> int xIsNan<adouble> (const adouble& X); 22 20 #endif 23 21  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)