[Lemon-commits] Balazs Dezso: Fix clear() function in ExtendFind...

Lemon HG hg at lemon.cs.elte.hu
Fri Feb 12 22:12:33 CET 2010


details:   http://lemon.cs.elte.hu/hg/lemon/rev/268a052c3043
changeset: 894:268a052c3043
user:      Balazs Dezso <deba [at] inf.elte.hu>
date:      Thu Dec 10 09:14:47 2009 +0100
description:
	Fix clear() function in ExtendFindEnum (#335), backport of
	[28c7ad6f8d91]

diffstat:

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

diffs (12 lines):

diff --git a/lemon/unionfind.h b/lemon/unionfind.h
--- a/lemon/unionfind.h
+++ b/lemon/unionfind.h
@@ -739,7 +739,7 @@
     /// Erase each item from the data structure.
     void clear() {
       items.clear();
-      classes.clear;
+      classes.clear();
       firstClass = firstFreeClass = firstFreeItem = -1;
     }
 



More information about the Lemon-commits mailing list