Ignore:
Timestamp:
Jun 24, 2013 5:42:26 PM (7 years ago)
Author:
pbelotti
Message:

fixed reformulation bug for auxs with different sign but equal rhs (ouch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/src/expression/CouenneExprAux.hpp

    r615 r968  
    210210struct compExpr {
    211211  inline bool operator () (exprAux* e0, exprAux* e1) const
    212   {return (e0 -> Image () -> compare (*(e1 -> Image ())) < 0);}
     212  {return ((e0 -> sign () < e1 -> sign ()) || (e0 -> Image () -> compare (*(e1 -> Image ())) < 0));}
    213213};
    214214
Note: See TracChangeset for help on using the changeset viewer.