1.1 --- a/lemon/lp_base.h Sun Feb 14 23:14:09 2010 +0100
1.2 +++ b/lemon/lp_base.h Mon Feb 15 09:03:11 2010 +0100
1.3 @@ -1229,10 +1229,10 @@
1.4 Row addRow(const Constr &c) {
1.5 Row r;
1.6 c.expr().simplify();
1.7 - r._id = _addRowId(_addRow(c.lowerBounded()?c.lowerBound():-INF,
1.8 + r._id = _addRowId(_addRow(c.lowerBounded()?c.lowerBound()-*c.expr():-INF,
1.9 ExprIterator(c.expr().comps.begin(), cols),
1.10 ExprIterator(c.expr().comps.end(), cols),
1.11 - c.upperBounded()?c.upperBound():INF));
1.12 + c.upperBounded()?c.upperBound()-*c.expr():INF));
1.13 return r;
1.14 }
1.15 ///Erase a column (i.e a variable) from the LP