Commit b612dda8 authored by Davis King's avatar Davis King

Relaxed require clause

parent 55b8e5b2
......@@ -84,7 +84,7 @@ namespace dlib
double value
)
{
DLIB_CASSERT(0 < value && value < 1);
DLIB_CASSERT(0 < value && value <= 1);
min_object_height = value;
}
......
......@@ -157,7 +157,7 @@ namespace dlib
);
/*!
requires
- 0 < value < 1
- 0 < value <= 1
ensures
- #get_min_object_height() == value
!*/
......
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