Added a missing assert.

This commit is contained in:
Davis King 2017-12-05 15:10:41 -05:00
parent c83838c3e5
commit 95d16fd05e

View File

@ -130,6 +130,7 @@ private:
boost::python::list chinese_whispers_clustering(boost::python::list descriptors, float threshold)
{
DLIB_CASSERT(threshold > 0);
boost::python::list clusters;
size_t num_descriptors = len(descriptors);