diff --git a/graph/hopcroft_karp.cpp b/graph/hopcroft_karp.cpp index 608897c63..736ebd386 100644 --- a/graph/hopcroft_karp.cpp +++ b/graph/hopcroft_karp.cpp @@ -226,8 +226,7 @@ BGraph::BGraph():NIL(0),INF(INT_MAX) // Constructor for initialization BGraph::BGraph(int m, int n):NIL(0),INF(INT_MAX) -{ - this->BGraph(); +{ this->m = m; this->n = n; adj = std::vector >(m + 1);