Changeset 348 for trunk/ADOL-C/examples


Ignore:
Timestamp:
Sep 15, 2012 5:44:27 PM (7 years ago)
Author:
kulshres
Message:

correct compilation error due to condassign

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

File:
1 edited

Legend:

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

    r171 r348  
    131131                    break;
    132132                case 2 :
    133                     condassign(y[i],y[0]>y[1],y[1],y[0]);
     133                    condassign(y[i],(adouble)(y[0]>y[1]),y[1],y[0]);
    134134                    break;
    135135                case 3 :
Note: See TracChangeset for help on using the changeset viewer.