fixed bug with CV_ASSERT
This commit is contained in:
parent
89f64681d0
commit
f0c136c9ab
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user