mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
oops, fixing a weird typo
This commit is contained in:
parent
3400e163e8
commit
4d18e0d0c7
@ -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 <
|
||||
|
@ -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 <
|
||||
|
Loading…
Reference in New Issue
Block a user