[Lemon-commits] Alpar Juttner: Merge
Lemon HG
hg at lemon.cs.elte.hu
Mon Feb 15 09:05:56 CET 2010
details: http://lemon.cs.elte.hu/hg/lemon/rev/b9b2e8abe70b
changeset: 904:b9b2e8abe70b
user: Alpar Juttner <alpar [at] cs.elte.hu>
date: Mon Feb 15 09:03:11 2010 +0100
description:
Merge
diffstat:
lemon/lp_base.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff --git a/lemon/lp_base.h b/lemon/lp_base.h
--- a/lemon/lp_base.h
+++ b/lemon/lp_base.h
@@ -1229,10 +1229,10 @@
Row addRow(const Constr &c) {
Row r;
c.expr().simplify();
- r._id = _addRowId(_addRow(c.lowerBounded()?c.lowerBound():-INF,
+ r._id = _addRowId(_addRow(c.lowerBounded()?c.lowerBound()-*c.expr():-INF,
ExprIterator(c.expr().comps.begin(), cols),
ExprIterator(c.expr().comps.end(), cols),
- c.upperBounded()?c.upperBound():INF));
+ c.upperBounded()?c.upperBound()-*c.expr():INF));
return r;
}
///Erase a column (i.e a variable) from the LP
More information about the Lemon-commits
mailing list