COIN-OR::LEMON - Graph Library

Changeset 735:1f08e846df29 in lemon for lemon/preflow.h


Ignore:
Timestamp:
08/18/09 10:24:31 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
736:86c49553fea5, 795:4792459983d0, 852:31a389202e65
Phase:
public
Message:

Bug fix in Preflow and Circulation (#307)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/preflow.h

    r688 r735  
    375375    ///
    376376    /// Sets the tolerance used by algorithm.
    377     Preflow& tolerance(const Tolerance& tolerance) const {
     377    Preflow& tolerance(const Tolerance& tolerance) {
    378378      _tolerance = tolerance;
    379379      return *this;
     
    384384    /// Returns a const reference to the tolerance.
    385385    const Tolerance& tolerance() const {
    386       return tolerance;
     386      return _tolerance;
    387387    }
    388388
Note: See TracChangeset for help on using the changeset viewer.