Skip to content

Commit 172f8d0

Browse files
committed
---
yaml --- r: 2989 b: refs/heads/master c: 80f86d1 h: refs/heads/master i: 2987: 6389766 v: v3
1 parent b9657c6 commit 172f8d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 537d879dc1437744e375d58bcce14bc427d904a2
2+
refs/heads/master: 80f86d1e9b09b52d4c785c79843e76b5a9187e12

trunk/src/lib/ufind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn union(&ufind ufnd, uint m, uint n) {
3838
auto n_root = find(ufnd, n);
3939
if (m_root < n_root) {
4040
ufnd.nodes.(n_root) = some[uint](m_root);
41-
} else {
41+
} else if (m_root > n_root) {
4242
ufnd.nodes.(m_root) = some[uint](n_root);
4343
}
4444
}

0 commit comments

Comments
 (0)