Changeset 428 for trunk/ADOL-C/include


Ignore:
Timestamp:
Apr 22, 2013 12:14:51 PM (6 years ago)
Author:
kulshres
Message:

get rid of fmin/fmax for doubles in traceless case

this is the traceless companion of git commit

1da1fa5bc7f5b9eada18c25026fd8ff25c8a91bb

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/include/adolc/adouble.h

    r427 r428  
    528528#endif
    529529
    530 #if !defined(_ISOC99_SOURCE) && !defined(__USE_ISOC99)
    531 inline double fmin( const double &x, const double &y ) {
    532     if (x<y) return x;
    533     else return y;
    534 }
    535 
    536 inline double fmax( const double &x, const double &y ) {
    537     if (x>y) return x;
    538     else return y;
    539 }
    540 #endif
    541 
    542530inline double makeNaN() {
    543531    return ADOLC_MATH_NSP::numeric_limits<double>::quiet_NaN();
Note: See TracChangeset for help on using the changeset viewer.