Changeset 738


Ignore:
Timestamp:
May 30, 2017 4:48:24 AM (6 months ago)
Author:
kulshres
Message:

call() must not be overloaded by child classes either

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

File:
1 edited

Legend:

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

    r737 r738  
    3030    virtual int fos_reverse(int m, double *dp_U, int n, double *dp_Z, double *dp_x, double *dp_y) = 0;
    3131    virtual int fov_reverse(int m, int p, double **dpp_U, int n, double **dpp_Z, double *dp_x, double *dp_y) = 0;
    32     virtual int call(int n, adouble *xa, int m, adouble *ya) {
     32    int call(int n, adouble *xa, int m, adouble *ya) {
    3333        return call_ext_fct(edf,n,xa,m,ya);
    3434    }
     
    4848    virtual int fos_reverse(int iArrLength, int *iArr, int m, double *dp_U, int n, double *dp_Z, double *dp_x, double *dp_y) = 0;
    4949    virtual int fov_reverse(int iArrLength, int *iArr, int m, int p, double **dpp_U, int n, double **dpp_Z, double *dp_x, double *dp_y) = 0;
    50     virtual int call(int iArrLength, int *iArr, int n, adouble *xa, int m, adouble *ya) {
     50    int call(int iArrLength, int *iArr, int n, adouble *xa, int m, adouble *ya) {
    5151        return call_ext_fct(edf,iArrLength,iArr,n,xa,m,ya);
    5252    }
     
    6666    virtual int fos_reverse(int iArrLen, int* iArr, int nout, int nin, int *outsz, double **up, int *insz, double **zp, double **x, double **y, void *ctx) = 0;
    6767    virtual int fov_reverse(int iArrLen, int* iArr, int nout, int nin, int *outsz, int dir, double ***Up, int *insz, double ***Zp, double **x, double **y, void* ctx) = 0;
    68     virtual int call(int iArrLen, int* iArr, int nin, int nout, int *insz, adouble **x, int *outsz, adouble **y) {
     68    int call(int iArrLen, int* iArr, int nin, int nout, int *insz, adouble **x, int *outsz, adouble **y) {
    6969        return call_ext_fct(edf,iArrLen,iArr,nin,nout,insz,x,outsz,y);
    7070    }
Note: See TracChangeset for help on using the changeset viewer.