lemon/preflow.h
changeset 688 1f08e846df29
parent 641 756a5ec551c8
child 689 86c49553fea5
child 891 bb70ad62c95f
     1.1 --- a/lemon/preflow.h	Fri May 29 17:46:48 2009 +0100
     1.2 +++ b/lemon/preflow.h	Tue Aug 18 10:24:31 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