Itseez/opencv — pull request #2351 by yashdv (2014-02-16 17:05:54+00:00)
Title: Fixed CV_ASSERT condition in the code for bag of words

Bug #3543

We need the "vocabulary" to not be empty (i.e vocabulary.empty() should return false).