test/bellman_ford_test.cc
changeset 1000 404b98971e1f
parent 880 b89e46862dc2
child 1009 a26b90a17c81
     1.1 --- a/test/bellman_ford_test.cc	Wed Sep 12 17:34:01 2012 +0200
     1.2 +++ b/test/bellman_ford_test.cc	Thu Sep 13 12:13:19 2012 +0200
     1.3 @@ -190,7 +190,7 @@
     1.4    check(pathTarget(gr, p) == t, "path() found a wrong path.");
     1.5  
     1.6    ListPath<Digraph> path;
     1.7 -  Value dist;
     1.8 +  Value dist = 0;
     1.9    bool reached = bellmanFord(gr,length).path(path).dist(dist).run(s,t);
    1.10  
    1.11    check(reached && dist == -1, "Bellman-Ford found a wrong path.");