diff --git a/test/euler_test.cc b/test/euler_test.cc --- a/test/euler_test.cc +++ b/test/euler_test.cc @@ -25,11 +25,11 @@ template void checkDiEulerIt(const Digraph& g) { - typename Digraph::template ArcMap visitationNumber(g); + typename Digraph::template ArcMap visitationNumber(g, 0); DiEulerIt e(g); typename Digraph::Node firstNode = g.source(e); - typename Digraph::Node lastNode; + typename Digraph::Node lastNode = g.target(e); for (; e != INVALID; ++e) { @@ -53,11 +53,11 @@ template void checkEulerIt(const Graph& g) { - typename Graph::template EdgeMap visitationNumber(g); + typename Graph::template EdgeMap visitationNumber(g, 0); EulerIt e(g); typename Graph::Node firstNode = g.u(e); - typename Graph::Node lastNode; + typename Graph::Node lastNode = g.v(e); for (; e != INVALID; ++e) {