[Lemon-commits] Alpar Juttner: Bugfix in test/maps_test.cc (#469)

Lemon HG hg at lemon.cs.elte.hu
Wed Jul 24 11:11:12 CEST 2013


details:   http://lemon.cs.elte.hu/hg/lemon/rev/8a3fb3155dca
changeset: 1235:8a3fb3155dca
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Wed Jul 24 10:21:35 2013 +0200
description:
	Bugfix in test/maps_test.cc (#469)

diffstat:

 test/maps_test.cc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r b208de044477 -r 8a3fb3155dca test/maps_test.cc
--- a/test/maps_test.cc	Wed Jul 24 01:08:34 2013 +0200
+++ b/test/maps_test.cc	Wed Jul 24 10:21:35 2013 +0200
@@ -535,7 +535,8 @@
           "Wrong SourceMap or TargetMap");
 
     typedef Orienter<Graph, const ConstMap<Edge, bool> > Digraph;
-    Digraph dgr(gr, constMap<Edge, bool>(true));
+    ConstMap<Edge, bool> true_edge_map(true);
+    Digraph dgr(gr, true_edge_map);
     OutDegMap<Digraph> odm(dgr);
     InDegMap<Digraph> idm(dgr);
 


More information about the Lemon-commits mailing list