[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/cf0c1b85618c
changeset: 893:cf0c1b85618c
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
@@ -733,7 +733,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