lemon/hartmann_orlin.h
changeset 841 aa8c9008b3de
parent 825 75e6020b19b1
child 863 a93f1a27d831
     1.1 --- a/lemon/hartmann_orlin.h	Fri Feb 26 14:00:20 2010 +0100
     1.2 +++ b/lemon/hartmann_orlin.h	Fri Feb 26 23:53:09 2010 +0100
     1.3 @@ -405,8 +405,8 @@
     1.4      ///
     1.5      /// \pre \ref run() or \ref findMinMean() must be called before
     1.6      /// using this function.
     1.7 -    LargeValue cycleLength() const {
     1.8 -      return _best_length;
     1.9 +    Value cycleLength() const {
    1.10 +      return static_cast<Value>(_best_length);
    1.11      }
    1.12  
    1.13      /// \brief Return the number of arcs on the found cycle.