Changeset 672 for trunk/ADOL-C/include


Ignore:
Timestamp:
Mar 17, 2016 10:28:52 AM (4 years ago)
Author:
kulshres
Message:

basepoint array must always be const in forward

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/include/adolc/interfaces.h

    r639 r672  
    188188/* zos_forward_nk(tag, m, n, x[n], y[m])                                    */
    189189/* (no keep, defined in uni5_for.c, but not supported in ADOL-C 1.8)        */
    190 ADOLC_DLL_EXPORT int zos_forward_nk(short,int,int,double*,double*);
     190ADOLC_DLL_EXPORT int zos_forward_nk(short,int,int,const double*,double*);
    191191
    192192/* zos_forward_partx(tag, m, n, ndim[n], x[n][d], y[m])                     */
     
    205205/* (no keep, defined in uni5_for.c, but not supported in ADOL-C 1.8)        */
    206206ADOLC_DLL_EXPORT int fos_forward_nk(
    207     short,int,int,double*,double*,double*,double*);
     207    short,int,int,const double*,double*,double*,double*);
    208208
    209209/* fos_forward_partx(tag, m, n, ndim[n], x[n][][2], y[m][2])                */
     
    217217/* (defined in uni5_for.mc)                                                 */
    218218ADOLC_DLL_EXPORT int hos_forward(
    219     short,int,int,int,int,double*,double**,double*,double**);
     219    short,int,int,int,int,const double*,double**,double*,double**);
    220220
    221221/* hos_forward_nk(tag, m, n, d, x[n], X[n][d], y[m], Y[m][d])               */
    222222/* (no keep, defined in uni5_for.c, but not supported in ADOL-C 1.8)        */
    223223ADOLC_DLL_EXPORT int hos_forward_nk(
    224     short,int,int,int,double*,double**,double*,double**);
     224    short,int,int,int,const double*,double**,double*,double**);
    225225
    226226/* hos_forward_partx(tag, m, n, ndim[n], d, X[n][d+1], Y[m][d+1])           */
     
    240240    short, int,int,int,const double*,double**,double*,double**);
    241241ADOLC_DLL_EXPORT int fov_offset_forward(
    242     short, int,int,int,int,double*,double**,double*,double**);
     242    short, int,int,int,int,const double*,double**,double*,double**);
    243243
    244244/* now pack the arrays into vectors for Fortran calling                     */
     
    256256/* (defined in uni5_for.mc)                                                 */
    257257ADOLC_DLL_EXPORT int hov_forward(
    258     short,int,int,int,int,double*,double***,double*,double***);
     258    short,int,int,int,int,const double*,double***,double*,double***);
    259259
    260260/* now pack the arrays into vectors for Fortran calling                     */
     
    273273/* (defined in uni5_for.mc)                                                 */
    274274ADOLC_DLL_EXPORT int hov_wk_forward(
    275     short,int,int,int,int,int,double*,double***,double*,double***);
     275    short,int,int,int,int,int,const double*,double***,double*,double***);
    276276
    277277/* now pack the arrays into vectors for Fortran calling                     */
Note: See TracChangeset for help on using the changeset viewer.