Changeset 13829


Ignore:
Timestamp:
10/25/12 11:32:25 (12 years ago)
Author:
Eric.Larour
Message:

CHG: avoid double definition of isnan in AD mode compilation.

Location:
issm/trunk-jpl/src/c
Files:
1 added
2 edited

Legend:

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

    r13783 r13829  
    192192                                        ./shared/Numerics/cross.cpp\
    193193                                        ./shared/Numerics/isnan.h\
     194                                        ./shared/Numerics/isnan.cpp\
    194195                                        ./shared/Numerics/cubic.cpp\
    195196                                        ./shared/Numerics/extrema.cpp\
  • issm/trunk-jpl/src/c/shared/Numerics/isnan.h

    r13782 r13829  
    55#ifndef _XISNAN_H_
    66#define _XISNAN_H_
     7
    78
    89#ifdef HAVE_CONFIG_H
     
    2425
    2526#if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_)
    26 template <> int xIsNan<adouble> (const adouble& X) {
    27   return isnan(X.getValue());
    28 }
     27template <> int xIsNan<adouble> (const adouble& X);
    2928#endif
    3029
Note: See TracChangeset for help on using the changeset viewer.