X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fbipartite.c;h=cc627286012b04a7fe1097bebb7e7712ecb603ca;hb=4bc38ea2ba218ad082162de7ff3dfeadd5b66561;hp=6c3f8f5eef96efff4687ea8cec2597c6a46749ac;hpb=57d365a67aaef76497b85e9a18b785c562652b16;p=libfirm diff --git a/ir/adt/bipartite.c b/ir/adt/bipartite.c index 6c3f8f5ee..cc6272860 100644 --- a/ir/adt/bipartite.c +++ b/ir/adt/bipartite.c @@ -1,5 +1,5 @@ /* - * Copyrigth (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -138,7 +138,7 @@ static int apply_alternating_path(const bipartite_t *gr, int *matching, if(bitset_popcnt(tmp) == 0) continue; - right = bitset_min(tmp); + right = bitset_next_set(tmp, 0); assert(!bitset_is_set(matched_right, right)); matching[left] = right; bitset_set(matched_left, left);