@@ -276,7 +276,7 bool SpectrogramParserHelper::checkProperties() | |||
|
276 | 276 | auto minBands = m_Properties.value(MIN_BANDS_PROPERTY).value<std::vector<double> >(); |
|
277 | 277 | auto maxBands = m_Properties.value(MAX_BANDS_PROPERTY).value<std::vector<double> >(); |
|
278 | 278 | |
|
279 | if (minBands.size() != maxBands.size()) { | |
|
279 | if (minBands.size() < 2 || minBands.size() != maxBands.size()) { | |
|
280 | 280 | qCWarning(LOG_AmdaResultParserHelper()) << QObject::tr( |
|
281 | 281 | "Can't generate y-axis data from bands extracted: bands intervals are invalid"); |
|
282 | 282 | return false; |
General Comments 0
You need to be logged in to leave comments.
Login now