Commit f4e90736 authored by Romain Pacanowski's avatar Romain Pacanowski
Browse files

BUG FIX.

  The SlidingWindow scheduling strategy has been fixed.
parent c1187ae1
...@@ -325,7 +325,7 @@ double solve_quadprog_with_guess(Ref<const MatrixXd> L, Ref<const VectorXd> g0, ...@@ -325,7 +325,7 @@ double solve_quadprog_with_guess(Ref<const MatrixXd> L, Ref<const VectorXd> g0,
} }
} }
if (std::abs(psi) <= (chunk_size-iq) * std::numeric_limits<double>::epsilon() * c1 * c2 * 100.0) if (std::abs(psi) <= std::max(chunk_size,iq) * std::numeric_limits<double>::epsilon() * c1 * c2 * 100.0)
{ {
if(!done_with_active_set) if(!done_with_active_set)
{ {
......
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