Changeset 3046


Ignore:
Timestamp:
Dec 26, 2013 1:16:44 PM (6 years ago)
Author:
bradbell
Message:

define.hpp: comment out more versions of operator floding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/temp/cppad/local/define.hpp

    r3045 r3046  
    152152uses the definition of the same operation for that case.
    153153*/
     154
     155# if 0
    154156# define CPPAD_FOLD_AD_VALUED_BINARY_OPERATOR(Op)                      \
    155157/* ----------------------------------------------------------------*/  \
     
    233235        (const VecAD_reference<double> &left, const double &right)        \
    234236{       return left.ADBase() Op AD<double>(right); }
     237# else
     238# define CPPAD_FOLD_AD_VALUED_BINARY_OPERATOR(Op)
     239# endif
    235240
    236241// =======================================================================
     
    255260uses the definition of the same operation for that case.
    256261*/
     262
     263# if 0
    257264# define CPPAD_FOLD_BOOL_VALUED_BINARY_OPERATOR(Op)                    \
    258265/* ----------------------------------------------------------------*/  \
     
    336343        (const VecAD_reference<double> &left, const double &right)        \
    337344{       return left.ADBase() Op AD<double>(right); }
     345# else
     346# define CPPAD_FOLD_BOOL_VALUED_BINARY_OPERATOR(Op)
     347# endif
    338348
    339349/*! \} */
Note: See TracChangeset for help on using the changeset viewer.