Commit 4d18e0d0 authored by Davis King's avatar Davis King
Browse files

oops, fixing a weird typo

parent 3400e163
...@@ -740,7 +740,7 @@ template <typename T> static auto go(T&& f, const matrix<double, 0, 1>& a) -> de ...@@ -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 = {} 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 < template <
......
...@@ -666,7 +666,7 @@ namespace dlib ...@@ -666,7 +666,7 @@ namespace dlib
const std::vector<function_evaluation>& initial_function_evals = {} 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 < template <
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment