# HG changeset patch
# User Peter Kovacs <kpeter@inf.elte.hu>
# Date 1255633397 -7200
# Node ID c67e235c832ff2ceb8cb0dd46df952afb98867c8
# Parent  71f9c1f0d80888cf5cad3aa809b84a4c77e7b5b3
Bug fix in Suurballe (#323)

diff -r 71f9c1f0d808 -r c67e235c832f lemon/suurballe.h
--- a/lemon/suurballe.h	Mon Oct 12 16:37:22 2009 +0100
+++ b/lemon/suurballe.h	Thu Oct 15 21:03:17 2009 +0200
@@ -520,7 +520,7 @@
     ///
     /// \pre \ref run() or \ref findPaths() must be called before using
     /// this function.
-    Path path(int i) const {
+    const Path& path(int i) const {
       return paths[i];
     }