mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Added a missing assert.
This commit is contained in:
parent
c83838c3e5
commit
95d16fd05e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user