Commit cea9d020 authored by Davis King's avatar Davis King

Fixed DLIB_ASSERT so that it matched the requires clause.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403394
parent ebaf7b70
...@@ -451,7 +451,7 @@ namespace dlib ...@@ -451,7 +451,7 @@ namespace dlib
std::vector<interest_point,Alloc>& result_points std::vector<interest_point,Alloc>& result_points
) )
{ {
DLIB_ASSERT(threshold > 0, DLIB_ASSERT(threshold >= 0,
"\tvoid get_interest_points()" "\tvoid get_interest_points()"
<< "\n\t Invalid arguments to this function" << "\n\t Invalid arguments to this function"
<< "\n\t threshold: " << threshold << "\n\t threshold: " << threshold
......
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