Changeset 149


Ignore:
Timestamp:
Jun 12, 2009 2:19:01 AM (12 years ago)
Author:
pbelotti
Message:

avoid creation of two auxiliaries for one constant (Thanks Pete Janes for pointing that out).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/src/standardize/linStandardize.cpp

    r126 r149  
    7575  if ((nq==0) && (nl==0))
    7676
    77     ret = new exprClone (addAuxiliary (new exprConst (c0))); // a constant auxiliary? FIX!
     77    ret = new exprConst (c0); // a constant auxiliary?
    7878
    7979  else if ((nq==0) && (fabs (c0) < COUENNE_EPS) && (nl==1)) { // a linear monomial, cx
Note: See TracChangeset for help on using the changeset viewer.