BarryHuang / wavelet1d

Automatically exported from code.google.com/p/wavelet1d
0 stars 0 forks source link

iswt infinite loop if signal length < 2^(no of scales) #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. call swt with signal length 255 and j=8
2. feed the result back into iswt
3. iswt hangs with infinite loop

What is the expected output? What do you see instead?
The expected output is the original signal but the module hangs with infinite 
loop.

What version of the product are you using? On what operating system?

0.4.00 on linux.

Please provide any additional information below.

There is a variable called value in the source which appears to become zero

Original issue reported on code.google.com by TheHonor...@gmail.com on 7 Feb 2014 at 6:44