[specdesc] fix definition of rolloff (closes gh-318, thanks to @Polochon-street)
authorPaul Brossier <piem@piem.org>
Sun, 16 Nov 2025 13:32:13 +0000 (14:32 +0100)
committerPaul Brossier <piem@piem.org>
Sun, 16 Nov 2025 14:09:54 +0000 (15:09 +0100)
commit1e35340b12588e2245c6fd893bdbf78be50d87c7
tree8f4a09957eee8a1cf3e0137e8f32f509d286cbf7
parentc2c319270226cd7f1cf015ff88678e52d5d7c3fd
[specdesc] fix definition of rolloff (closes gh-318, thanks to @Polochon-street)

We now return at least the first bin, and at most the last bin number, to
prevent returning a value greater than the length of the norm vector size.
src/spectral/statistics.c