[Lemon-commits] Peter Kovacs: Bug fix in Suurballe (#323)

Lemon HG hg at lemon.cs.elte.hu
Wed Mar 3 17:14:29 CET 2010


details:   http://lemon.cs.elte.hu/hg/lemon/rev/c67e235c832f
changeset: 924:c67e235c832f
user:      Peter Kovacs <kpeter [at] inf.elte.hu>
date:      Thu Oct 15 21:03:17 2009 +0200
description:
	Bug fix in Suurballe (#323)

diffstat:

 lemon/suurballe.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/lemon/suurballe.h b/lemon/suurballe.h
--- a/lemon/suurballe.h
+++ b/lemon/suurballe.h
@@ -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];
     }
 



More information about the Lemon-commits mailing list