COIN-OR::LEMON - Graph Library

Changeset 1140:8d281761dea4 in lemon for lemon/lp_base.h


Ignore:
Timestamp:
05/05/12 10:22:44 (12 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
1141:c3a7ca108705, 1142:4764031c082c, 1143:38e1d4383262, 1144:7440937d154b
Phase:
public
Message:

Fix buggy reinitialization in _solver_bits::VarIndex::clear() (#441)

  • In addition, rows.clear() and cols.clear() are moved up to LpBase::clear()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_base.h

    r1092 r1140  
    15431543
    15441544    ///Clears the problem
    1545     void clear() { _clear(); }
     1545    void clear() { _clear(); rows.clear(); cols.clear(); }
    15461546
    15471547    /// Sets the message level of the solver
Note: See TracChangeset for help on using the changeset viewer.