Ignore:
Timestamp:
Jan 15, 2010 4:18:19 AM (10 years ago)
Author:
awalther
Message:

required modification for coupling with Ipopt

Location:
trunk/ADOL-C/src/drivers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/drivers/drivers.c

    r61 r72  
    8787             int depen,
    8888             int indep,
    89              double *argument,
     89             const double *argument,
    9090             double **jacobian) {
    9191    int rc;
     
    105105        myfreeI2(depen, I);
    106106    }
     107
     108    myfree1(result);
     109
    107110    return rc;
    108111}
  • trunk/ADOL-C/src/drivers/drivers.h

    r61 r72  
    4040/*                                                                 jacobian */
    4141/* jacobian(tag, m, n, x[n], J[m][n])                                       */
    42 ADOLC_DLL_EXPORT int jacobian(short,int,int,double*,double**);
     42ADOLC_DLL_EXPORT int jacobian(short,int,int,const double*,double**);
    4343ADOLC_DLL_EXPORT fint jacobian_(fint*,fint*,fint*,fdouble*,fdouble*);
    4444
Note: See TracChangeset for help on using the changeset viewer.