X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fbipartite.c;h=cc627286012b04a7fe1097bebb7e7712ecb603ca;hb=dbce362ff915753bf77eb5a923e35d3f81fd190d;hp=40f84e70bdc978366d8e4db212a46bbd6d4d3e34;hpb=974215da1a935f250766874d0f7a7ddfa34bc4ef;p=libfirm diff --git a/ir/adt/bipartite.c b/ir/adt/bipartite.c index 40f84e70b..cc6272860 100644 --- a/ir/adt/bipartite.c +++ b/ir/adt/bipartite.c @@ -1,5 +1,5 @@ /* - * Copyright (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);