Commit 27136609 authored by Davis King's avatar Davis King

Fixed typo in assert that prevented it from compiling

parent 97dc7f2a
......@@ -491,7 +491,7 @@ namespace dlib
)
{
// make sure requires clause is not broken
DLIB_ASSERT(centers.size() > 0 && samples.size() > 0 && is_vector(sample),
DLIB_ASSERT(centers.size() > 0 && sample.size() > 0 && is_vector(sample),
"\t unsigned long nearest_center()"
<< "\n\t You have given invalid inputs to this function."
<< "\n\t centers.size(): " << centers.size()
......
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