Changeset 361 for trunk/ADOL-C/examples


Ignore:
Timestamp:
Oct 19, 2012 5:22:55 AM (7 years ago)
Author:
kulshres
Message:

no more need for cast in condassign

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

File:
1 edited

Legend:

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

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