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; }