From b511fe864d9ef8e84bdca477dffb851f2ccc7822 Mon Sep 17 00:00:00 2001 From: Rafat Hussain Date: Mon, 10 Oct 2016 09:44:46 +0530 Subject: [PATCH] COMMIT : Error Correction in wavelib.c : Value wt->type wasn't being updated with "lin" scales option --- src/wavelib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wavelib.c b/src/wavelib.c index 0ce0023..38cdff6 100644 --- a/src/wavelib.c +++ b/src/wavelib.c @@ -1340,6 +1340,7 @@ void setCWTScales(cwt_object wt, double s0, double dj,char *type,int power) { wt->scale[i] = s0 + (double)i * dj; } wt->sflag = 1; + strcpy(wt->type,type); } else { printf("\n Type accepts only two values : pow and lin\n");