Commit 95d16fd0 authored by Davis King's avatar Davis King

Added a missing assert.

parent c83838c3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment