Commit b66cf7b2 authored by Davis King's avatar Davis King

Relaxed requires clause slightly

parent 65914e72
......@@ -94,7 +94,7 @@ namespace dlib
double value
)
{
DLIB_CASSERT(0 < value && value < 1);
DLIB_CASSERT(0 < value && value <= 1);
max_object_height = value;
}
......
......@@ -176,7 +176,7 @@ namespace dlib
);
/*!
requires
- 0 < value < 1
- 0 < value <= 1
ensures
- #get_max_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