changeset 2550 | f26368148b9c |
parent 2548 | a3ba22ebccc6 |
child 2551 | 5004899aa870 |
1.1 --- a/lemon/unionfind.h Sat Dec 29 15:11:41 2007 +0000 1.2 +++ b/lemon/unionfind.h Sun Dec 30 18:23:32 2007 +0000 1.3 @@ -962,7 +962,7 @@ 1.4 1.5 private: 1.6 1.7 - static const int cmax = 3; 1.8 + static const int cmax = 16; 1.9 1.10 ItemIntMap& index; 1.11 1.12 @@ -1124,6 +1124,7 @@ 1.13 nodes[kd].parent = id; 1.14 kd = nodes[kd].next; 1.15 } 1.16 + nodes[id].right = nodes[jd].right; 1.17 } 1.18 1.19 void split(int id, int jd) {