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
b612dda8
"examples/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "b2e35e6aa9de6b51a21f8d65cd33b02d1d48ed3e"
Commit
b612dda8
authored
Dec 10, 2016
by
Davis King
Browse files
Relaxed require clause
parent
55b8e5b2
Changes
2
Hide 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 @
b612dda8
...
@@ -84,7 +84,7 @@ namespace dlib
...
@@ -84,7 +84,7 @@ namespace dlib
double
value
double
value
)
)
{
{
DLIB_CASSERT
(
0
<
value
&&
value
<
1
);
DLIB_CASSERT
(
0
<
value
&&
value
<
=
1
);
min_object_height
=
value
;
min_object_height
=
value
;
}
}
...
...
dlib/image_transforms/random_cropper_abstract.h
View file @
b612dda8
...
@@ -157,7 +157,7 @@ namespace dlib
...
@@ -157,7 +157,7 @@ namespace dlib
);
);
/*!
/*!
requires
requires
- 0 < value < 1
- 0 < value <
=
1
ensures
ensures
- #get_min_object_height() == value
- #get_min_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