diff --git a/src/cwt.c b/src/cwt.c index 6e9efb1..20ad3b1 100755 --- a/src/cwt.c +++ b/src/cwt.c @@ -142,7 +142,7 @@ static void wave_function(int nk, double dt,int mother, double param,double scal } } -void cwavelet(double *y, int N, double dt, int mother, double param, double s0, double dj, int jtot, int npad, +void cwavelet(const double *y, int N, double dt, int mother, double param, int jtot, int npad, double *wave, double *scale, double *period, double *coi) { int i, j, k, iter; diff --git a/src/cwt.h b/src/cwt.h index ed9ea9a..e9a80dc 100755 --- a/src/cwt.h +++ b/src/cwt.h @@ -7,7 +7,7 @@ extern "C" { #endif -void cwavelet(double *y, int N, double dt, int mother, double param, double s0, double dj, int jtot, int npad, +void cwavelet(const double *y, int N, double dt, int mother, double param, int jtot, int npad, double *wave, double *scale, double *period, double *coi); void psi0(int mother, double param, double *val, int *real);