Bugfix in test/maps_test.cc (#469)
authorAlpar Juttner <alpar@cs.elte.hu>
Wed, 24 Jul 2013 10:21:35 +0200
changeset 10678a3fb3155dca
parent 1066 b208de044477
child 1069 d1a48668ddb4
Bugfix in test/maps_test.cc (#469)
test/maps_test.cc
     1.1 --- a/test/maps_test.cc	Wed Jul 24 01:08:34 2013 +0200
     1.2 +++ b/test/maps_test.cc	Wed Jul 24 10:21:35 2013 +0200
     1.3 @@ -535,7 +535,8 @@
     1.4            "Wrong SourceMap or TargetMap");
     1.5  
     1.6      typedef Orienter<Graph, const ConstMap<Edge, bool> > Digraph;
     1.7 -    Digraph dgr(gr, constMap<Edge, bool>(true));
     1.8 +    ConstMap<Edge, bool> true_edge_map(true);
     1.9 +    Digraph dgr(gr, true_edge_map);
    1.10      OutDegMap<Digraph> odm(dgr);
    1.11      InDegMap<Digraph> idm(dgr);
    1.12