Skip to content

Commit

Permalink
box_unicity in inflating_newton trully set to the largest box contain…
Browse files Browse the repository at this point in the history
…ing solutions
  • Loading branch information
benjam-art-in committed Apr 23, 2019
1 parent 40c3e00 commit 98cbc09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/numeric/ibex_Newton.cpp
Expand Up @@ -251,8 +251,8 @@ bool inflating_newton(const Fnc& f, const VarSet* vars, const IntervalVector& fu
if (!success) { // to get the largest unicity box, we do this
// only when the first contraction occurs

if (vars) vars->set_var_box(box_unicity,box2);
else box_unicity = box2;
if (vars) vars->set_var_box(box_unicity,box);
else box_unicity = box;

//=================================================
// We now try to enlarge the unicity box as possible
Expand Down

0 comments on commit 98cbc09

Please sign in to comment.