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
8a7f6873
Commit
8a7f6873
authored
Apr 18, 2016
by
Davis King
Browse files
Fixed typo in error message
parent
8984f754
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/optimization/optimization_bobyqa.h
dlib/optimization/optimization_bobyqa.h
+2
-2
No files found.
dlib/optimization/optimization_bobyqa.h
View file @
8a7f6873
...
...
@@ -3360,7 +3360,7 @@ L210:
DLIB_CASSERT
(
is_col_vector
(
x
)
&&
is_col_vector
(
x_lower
)
&&
is_col_vector
(
x_upper
)
&&
x
.
size
()
==
x_lower
.
size
()
&&
x_lower
.
size
()
==
x_upper
.
size
()
&&
x
.
size
()
>
1
&&
max_f_evals
>
1
,
"
\t
void
find_min_bobyqa()"
"
\t
double
find_min_bobyqa()"
<<
"
\n\t
Invalid arguments have been given to this function"
<<
"
\n\t
is_col_vector(x): "
<<
is_col_vector
(
x
)
<<
"
\n\t
is_col_vector(x_lower): "
<<
is_col_vector
(
x_lower
)
...
...
@@ -3375,7 +3375,7 @@ L210:
0
<
rho_end
&&
rho_end
<
rho_begin
&&
min
(
x_upper
-
x_lower
)
>
2
*
rho_begin
&&
min
(
x
-
x_lower
)
>=
0
&&
min
(
x_upper
-
x
)
>=
0
,
"
\t
void
find_min_bobyqa()"
"
\t
double
find_min_bobyqa()"
<<
"
\n\t
Invalid arguments have been given to this function"
<<
"
\n\t
ntp in valid range: "
<<
(
x
.
size
()
+
2
<=
npt
&&
npt
<=
(
x
.
size
()
+
1
)
*
(
x
.
size
()
+
2
)
/
2
)
<<
"
\n\t
npt: "
<<
npt
...
...
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