changeset 1558:760ada8e3972 spectrogram-export

Fix typo in range
author Chris Cannam
date Tue, 07 Jan 2020 14:57:40 +0000
parents 3607b0092019
children e6e7a8dc3b38
files layer/Colour3DPlotExporter.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/layer/Colour3DPlotExporter.cpp	Tue Jan 07 11:19:02 2020 +0000
+++ b/layer/Colour3DPlotExporter.cpp	Tue Jan 07 14:57:40 2020 +0000
@@ -135,7 +135,7 @@
         if (binDisplay == BinDisplay::PeakFrequencies) {
             
             FFTModel::PeakSet peaks = fftModel->getPeakFrequencies
-                (FFTModel::AllPeaks, i, minbin, minbin + nbins + 1);
+                (FFTModel::AllPeaks, i, minbin, minbin + nbins - 1);
 
             for (const auto &p: peaks) {