Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
b66cf7b2
Commit
b66cf7b2
authored
Dec 09, 2016
by
Davis King
Browse files
Relaxed requires clause slightly
parent
65914e72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dlib/image_transforms/random_cropper.h
dlib/image_transforms/random_cropper.h
+1
-1
dlib/image_transforms/random_cropper_abstract.h
dlib/image_transforms/random_cropper_abstract.h
+1
-1
No files found.
dlib/image_transforms/random_cropper.h
View file @
b66cf7b2
...
@@ -94,7 +94,7 @@ namespace dlib
...
@@ -94,7 +94,7 @@ namespace dlib
double
value
double
value
)
)
{
{
DLIB_CASSERT
(
0
<
value
&&
value
<
1
);
DLIB_CASSERT
(
0
<
value
&&
value
<
=
1
);
max_object_height
=
value
;
max_object_height
=
value
;
}
}
...
...
dlib/image_transforms/random_cropper_abstract.h
View file @
b66cf7b2
...
@@ -176,7 +176,7 @@ namespace dlib
...
@@ -176,7 +176,7 @@ namespace dlib
);
);
/*!
/*!
requires
requires
- 0 < value < 1
- 0 < value <
=
1
ensures
ensures
- #get_max_object_height() == value
- #get_max_object_height() == value
!*/
!*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment