changeset 1680:c9a15ee5dc1d single-point

Fix error message which says the opposite of the truth
author Chris Cannam
date Fri, 29 Mar 2019 19:16:11 +0000
parents 0d89abd631ac
children c170b8d0433c
files data/model/FFTModel.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/model/FFTModel.cpp	Thu Mar 28 16:03:36 2019 +0000
+++ b/data/model/FFTModel.cpp	Fri Mar 29 19:16:11 2019 +0000
@@ -55,8 +55,8 @@
     
     if (m_windowSize > m_fftSize) {
         SVCERR << "ERROR: FFTModel::FFTModel: window size (" << m_windowSize
-               << ") must be at least FFT size (" << m_fftSize << ")" << endl;
-        throw invalid_argument("FFTModel window size must be at least FFT size");
+               << ") may not exceed FFT size (" << m_fftSize << ")" << endl;
+        throw invalid_argument("FFTModel window size may not exceed FFT size");
     }
 
     m_fft.initFloat();