Bug fixes
authordeba
Wed, 27 Feb 2008 11:39:03 +0000
changeset 2580fa71d9612c42
parent 2579 691ce54544c5
child 2581 054566ac0934
Bug fixes
lemon/pr_bipartite_matching.h
     1.1 --- a/lemon/pr_bipartite_matching.h	Mon Feb 25 12:35:06 2008 +0000
     1.2 +++ b/lemon/pr_bipartite_matching.h	Wed Feb 27 11:39:03 2008 +0000
     1.3 @@ -480,6 +480,7 @@
     1.4    int prBipartiteMatching(const Graph &g)
     1.5    {
     1.6      PrBipartiteMatching<Graph> bpm(g);
     1.7 +    bpm.run();
     1.8      return bpm.matchingSize();
     1.9    }
    1.10  
    1.11 @@ -549,7 +550,8 @@
    1.12    bool prPerfectBipartiteMatching(const Graph &g)
    1.13    {
    1.14      PrBipartiteMatching<Graph> bpm(g);
    1.15 -    return bpm.runPerfect();
    1.16 +    bpm.run();
    1.17 +    return bpm.checkedRunPerfect();
    1.18    }
    1.19  
    1.20    ///Perfect matching in a bipartite graph