From f0c136c9ab62f96cfaf24259e9389ac0093e50cd Mon Sep 17 00:00:00 2001 From: Alexander Shishkov Date: Wed, 20 Oct 2010 14:02:08 +0000 Subject: [PATCH] fixed bug with CV_ASSERT --- samples/cpp/bagofwords_classification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/cpp/bagofwords_classification.cpp b/samples/cpp/bagofwords_classification.cpp index f9401259fb..5b36efff93 100644 --- a/samples/cpp/bagofwords_classification.cpp +++ b/samples/cpp/bagofwords_classification.cpp @@ -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 );