Commit 89d3fe4e authored by Davis King's avatar Davis King

Fixed find_max_global() overload that was ignoring one of its arguments.

parent 1aa66674
......@@ -217,7 +217,7 @@ template <typename T> static auto go(T&& f, const matrix<double, 0, 1>& a) -> de
double solver_epsilon
)
{
return find_max_global(std::move(f), bound1, bound2, std::vector<bool>(bound1.size(),false), num, FOREVER, solver_epsilon);
return find_max_global(std::move(f), bound1, bound2, is_integer_variable, num, FOREVER, solver_epsilon);
}
// ----------------------------------------------------------------------------------------
......
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