Mercurial > hg > svgui
diff layer/Colour3DPlotExporter.cpp @ 1558:760ada8e3972 spectrogram-export
Fix typo in range
author | Chris Cannam |
---|---|
date | Tue, 07 Jan 2020 14:57:40 +0000 |
parents | ac8da42674ff |
children | e6e7a8dc3b38 |
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) {