Bug fix in Suurballe (#323)
authorPeter Kovacs <kpeter@inf.elte.hu>
Thu, 15 Oct 2009 21:03:17 +0200
changeset 717c67e235c832f
parent 699 71f9c1f0d808
child 718 30c77d1c0cba
Bug fix in Suurballe (#323)
lemon/suurballe.h
     1.1 --- a/lemon/suurballe.h	Mon Oct 12 16:37:22 2009 +0100
     1.2 +++ b/lemon/suurballe.h	Thu Oct 15 21:03:17 2009 +0200
     1.3 @@ -520,7 +520,7 @@
     1.4      ///
     1.5      /// \pre \ref run() or \ref findPaths() must be called before using
     1.6      /// this function.
     1.7 -    Path path(int i) const {
     1.8 +    const Path& path(int i) const {
     1.9        return paths[i];
    1.10      }
    1.11