lemon/preflow.h
branch1.1
changeset 691 31a389202e65
parent 637 756a5ec551c8
child 732 bb70ad62c95f
     1.1 --- a/lemon/preflow.h	Thu Aug 20 22:45:40 2009 +0200
     1.2 +++ b/lemon/preflow.h	Mon Aug 31 07:05:13 2009 +0200
     1.3 @@ -374,7 +374,7 @@
     1.4      /// \brief Sets the tolerance used by algorithm.
     1.5      ///
     1.6      /// Sets the tolerance used by algorithm.
     1.7 -    Preflow& tolerance(const Tolerance& tolerance) const {
     1.8 +    Preflow& tolerance(const Tolerance& tolerance) {
     1.9        _tolerance = tolerance;
    1.10        return *this;
    1.11      }
    1.12 @@ -383,7 +383,7 @@
    1.13      ///
    1.14      /// Returns a const reference to the tolerance.
    1.15      const Tolerance& tolerance() const {
    1.16 -      return tolerance;
    1.17 +      return _tolerance;
    1.18      }
    1.19  
    1.20      /// \name Execution Control