Partially revert "const-correct cwt.c:cwavelet"

This reverts commit 0b5777fc4a.

> In cwt.h and cwt.c , s0 and dj are needed for reconstruction.
> Both of these variables may be needed if we are to add more wavelets.
This commit is contained in:
Ivan Krylov
2018-12-14 13:04:07 +03:00
parent 0cbcb8b7d5
commit fbbebc90f9
3 changed files with 6 additions and 4 deletions

View File

@@ -1413,7 +1413,7 @@ void cwt(cwt_object wt, const double *inp) {
}
wt->smean /= N;
cwavelet(inp, N, wt->dt, wt->mother, wt->m, wt->J,npad,wt->params, wt->params+nj2, wt->params+nj2+j, wt->params+nj2+j2);
cwavelet(inp, N, wt->dt, wt->mother, wt->m, wt->s0,wt->dj,wt->J,npad,wt->params, wt->params+nj2, wt->params+nj2+j, wt->params+nj2+j2);
}