# HG changeset patch
# User Chris Cannam
# Date 1578409060 0
# Node ID 760ada8e3972b9cd8a50d406330d167e0a44a609
# Parent  3607b00920198927b645c76761a2beedc2d48b87
Fix typo in range

diff -r 3607b0092019 -r 760ada8e3972 layer/Colour3DPlotExporter.cpp
--- 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) {