1.1 --- a/lemon/lp_base.h Wed Jan 14 15:55:29 2009 +0000
1.2 +++ b/lemon/lp_base.h Sun Jan 18 17:49:08 2009 +0100
1.3 @@ -1067,8 +1067,8 @@
1.4 ///a better one.
1.5 void col(Col c, const DualExpr &e) {
1.6 e.simplify();
1.7 - _setColCoeffs(cols(id(c)), ExprIterator(e.comps.begin(), cols),
1.8 - ExprIterator(e.comps.end(), cols));
1.9 + _setColCoeffs(cols(id(c)), ExprIterator(e.comps.begin(), rows),
1.10 + ExprIterator(e.comps.end(), rows));
1.11 }
1.12
1.13 ///Get a column (i.e a dual constraint) of the LP