fixed bug with CV_ASSERT

This commit is contained in:
Alexander Shishkov 2010-10-20 14:02:08 +00:00
parent 89f64681d0
commit f0c136c9ab

View File

@ -1347,7 +1347,7 @@ void VocData::initVoc2007to2010( const string& vocPath, const bool useTestDatase
m_vocName = getVocName( vocPath );
CV_Assert( !m_vocName.compare("VOC2007") || !m_vocName.compare("VOC2008") ||
!m_vocName.compare("VOC2009") || !m_vocName.compare("VOC2010") )
!m_vocName.compare("VOC2009") || !m_vocName.compare("VOC2010") );
m_vocPath = checkFilenamePathsep( vocPath, true );