mirror of
https://github.com/simon987/wavelib.git
synced 2025-04-24 12:35:52 +00:00
COMMIT : Error Correction in wavelib.c : Value wt->type wasn't being updated with "lin" scales option
This commit is contained in:
parent
3b92f27042
commit
b511fe864d
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user