Commit 20b9784
authored
Fix bug when 2 signals in a pair are not perfectly aligned for wavelet coherence (#232)
Add length of signal to the wavelet caching key.
There are cases where 2 signals in a pair are not exactly the same
length (one sample of difference). In these cases the longest signal is
cropped. But when computing intra, we reuse the same signal (not from
the pair), so we should load a cropped cached signal.1 parent 6789b00 commit 20b9784
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| 427 | + | |
| 428 | + | |
427 | 429 | | |
428 | 430 | | |
429 | 431 | | |
| 432 | + | |
430 | 433 | | |
431 | 434 | | |
432 | 435 | | |
| |||
437 | 440 | | |
438 | 441 | | |
439 | 442 | | |
440 | | - | |
| 443 | + | |
441 | 444 | | |
442 | 445 | | |
443 | 446 | | |
| |||
0 commit comments