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
0697527a
Commit
0697527a
authored
Feb 16, 2021
by
Davis King
Browse files
fix invalid assert
parent
8b9d0439
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/global_optimization/global_function_search.cpp
dlib/global_optimization/global_function_search.cpp
+1
-1
No files found.
dlib/global_optimization/global_function_search.cpp
View file @
0697527a
...
@@ -623,7 +623,7 @@ namespace dlib
...
@@ -623,7 +623,7 @@ namespace dlib
{
{
DLIB_CASSERT
(
functions_
.
size
()
>
0
);
DLIB_CASSERT
(
functions_
.
size
()
>
0
);
DLIB_CASSERT
(
functions_
.
size
()
==
initial_function_evals
.
size
());
DLIB_CASSERT
(
functions_
.
size
()
==
initial_function_evals
.
size
());
DLIB_CASSERT
(
relative_noise_magnitude
>=
0
);
DLIB_CASSERT
(
relative_noise_magnitude
_
>=
0
);
relative_noise_magnitude
=
relative_noise_magnitude_
;
relative_noise_magnitude
=
relative_noise_magnitude_
;
for
(
size_t
i
=
0
;
i
<
initial_function_evals
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
initial_function_evals
.
size
();
++
i
)
{
{
...
...
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