From 0b5777fc4aa12d7c019cd01aa3f5885c47c0cae2 Mon Sep 17 00:00:00 2001 From: Ivan Krylov Date: Thu, 13 Dec 2018 15:05:02 +0300 Subject: [PATCH] const-correct cwt.c:cwavelet --- src/cwt.c | 2 +- src/cwt.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);