diff data/model/FFTModel.cpp @ 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 70e172e6cc59
children e73baeead27f
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();