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
4d18e0d0
Commit
4d18e0d0
authored
Jul 26, 2020
by
Davis King
Browse files
oops, fixing a weird typo
parent
3400e163
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dlib/global_optimization/find_max_global.h
dlib/global_optimization/find_max_global.h
+1
-1
dlib/global_optimization/find_max_global_abstract.h
dlib/global_optimization/find_max_global_abstract.h
+1
-1
No files found.
dlib/global_optimization/find_max_global.h
View file @
4d18e0d0
...
...
@@ -740,7 +740,7 @@ template <typename T> static auto go(T&& f, const matrix<double, 0, 1>& a) -> de
const
std
::
vector
<
function_evaluation
>&
initial_function_evals
=
{}
)
{
return
find_max_global
(
tp
,
std
::
move
(
f
),
matrix
<
double
,
0
,
1
>
({
bound1
}),
matrix
<
double
,
0
,
1
>
({
bound2
}),
num
,
FOREVER
,
solver_epsilon
=
initial_function_evals
);
return
find_max_global
(
tp
,
std
::
move
(
f
),
matrix
<
double
,
0
,
1
>
({
bound1
}),
matrix
<
double
,
0
,
1
>
({
bound2
}),
num
,
FOREVER
,
solver_epsilon
,
initial_function_evals
);
}
template
<
...
...
dlib/global_optimization/find_max_global_abstract.h
View file @
4d18e0d0
...
...
@@ -666,7 +666,7 @@ namespace dlib
const
std
::
vector
<
function_evaluation
>&
initial_function_evals
=
{}
)
{
return
find_max_global
(
tp
,
std
::
move
(
f
),
matrix
<
double
,
0
,
1
>
({
bound1
}),
matrix
<
double
,
0
,
1
>
({
bound2
}),
num
,
FOREVER
,
solver_epsilon
=
initial_function_evals
);
return
find_max_global
(
tp
,
std
::
move
(
f
),
matrix
<
double
,
0
,
1
>
({
bound1
}),
matrix
<
double
,
0
,
1
>
({
bound2
}),
num
,
FOREVER
,
solver_epsilon
,
initial_function_evals
);
}
template
<
...
...
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