Commit 1afa8aca authored by Davis King's avatar Davis King

Fixed incorrect assert

parent 29cc76cd
......@@ -90,7 +90,7 @@ namespace dlib
) const
{
// make sure requires clause is not broken
DLIB_ASSERT(current_n() > 1,
DLIB_ASSERT(current_n() > 0,
"\tT running_stats::max"
<< "\n\tyou have to add some numbers to this object first"
<< "\n\tthis: " << this
......@@ -103,7 +103,7 @@ namespace dlib
) const
{
// make sure requires clause is not broken
DLIB_ASSERT(current_n() > 1,
DLIB_ASSERT(current_n() > 0,
"\tT running_stats::min"
<< "\n\tyou have to add some numbers to this object first"
<< "\n\tthis: " << this
......
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