1.1 --- a/lemon/circulation.h Fri May 29 17:46:48 2009 +0100
1.2 +++ b/lemon/circulation.h Tue Aug 18 10:24:31 2009 +0200
1.3 @@ -453,7 +453,7 @@
1.4 /// \brief Sets the tolerance used by algorithm.
1.5 ///
1.6 /// Sets the tolerance used by algorithm.
1.7 - Circulation& tolerance(const Tolerance& tolerance) const {
1.8 + Circulation& tolerance(const Tolerance& tolerance) {
1.9 _tol = tolerance;
1.10 return *this;
1.11 }
1.12 @@ -462,7 +462,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 _tol;
1.18 }
1.19
1.20 /// \name Execution Control
2.1 --- a/lemon/preflow.h Fri May 29 17:46:48 2009 +0100
2.2 +++ b/lemon/preflow.h Tue Aug 18 10:24:31 2009 +0200
2.3 @@ -374,7 +374,7 @@
2.4 /// \brief Sets the tolerance used by algorithm.
2.5 ///
2.6 /// Sets the tolerance used by algorithm.
2.7 - Preflow& tolerance(const Tolerance& tolerance) const {
2.8 + Preflow& tolerance(const Tolerance& tolerance) {
2.9 _tolerance = tolerance;
2.10 return *this;
2.11 }
2.12 @@ -383,7 +383,7 @@
2.13 ///
2.14 /// Returns a const reference to the tolerance.
2.15 const Tolerance& tolerance() const {
2.16 - return tolerance;
2.17 + return _tolerance;
2.18 }
2.19
2.20 /// \name Execution Control