COIN-OR::LEMON - Graph Library

Changeset 471:fb5af0411793 in lemon-1.2 for lemon/lp_base.h


Ignore:
Timestamp:
01/18/09 17:49:08 (11 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Phase:
public
Message:

Fix lp indexing bug (#205)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_base.h

    r470 r471  
    10681068    void col(Col c, const DualExpr &e) {
    10691069      e.simplify();
    1070       _setColCoeffs(cols(id(c)), ExprIterator(e.comps.begin(), cols),
    1071                     ExprIterator(e.comps.end(), cols));
     1070      _setColCoeffs(cols(id(c)), ExprIterator(e.comps.begin(), rows),
     1071                    ExprIterator(e.comps.end(), rows));
    10721072    }
    10731073
Note: See TracChangeset for help on using the changeset viewer.