Changeset 387 for trunk/ADOL-C/examples


Ignore:
Timestamp:
Jan 25, 2013 10:47:43 AM (6 years ago)
Author:
kulshres
Message:

switch extra cast depending on advanced branching or not , else the example won't compile without the advanced branching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/examples/additional_examples/hessmat/hessmat.cpp

    r361 r387  
    131131                    break;
    132132                case 2 :
     133#ifndef ADOLC_ADVANCED_BRANCHING
     134                    condassign(y[i],adouble(y[0]>y[1]),y[1],y[0]);
     135#else
    133136                    condassign(y[i],(y[0]>y[1]),y[1],y[0]);
     137#endif
    134138                    break;
    135139                case 3 :
Note: See TracChangeset for help on using the changeset viewer.