# HG changeset patch # User alpar # Date 1132222495 0 # Node ID 597ce92fae738355348521d8c8c2e54b1948e23b # Parent 474d093466a578befdeb76fd7918ed7cfa760194 Several bugfices. diff -r 474d093466a5 -r 597ce92fae73 lemon/Makefile.am --- a/lemon/Makefile.am Wed Nov 16 18:58:10 2005 +0000 +++ b/lemon/Makefile.am Thu Nov 17 10:14:55 2005 +0000 @@ -69,7 +69,6 @@ graph_reader.h \ graph_writer.h \ bits/alteration_notifier.h \ - bits/map_iterator.h \ bits/array_map.h \ bits/default_map.h \ bits/extended_pair.h \ diff -r 474d093466a5 -r 597ce92fae73 lemon/graph_utils.h --- a/lemon/graph_utils.h Wed Nov 16 18:58:10 2005 +0000 +++ b/lemon/graph_utils.h Thu Nov 17 10:14:55 2005 +0000 @@ -59,13 +59,13 @@ typedef Graph:: Edge Edge; \ typedef Graph:: EdgeIt EdgeIt; \ typedef Graph:: InEdgeIt InEdgeIt; \ - typedef Graph::OutEdgeIt OutEdgeIt; \ - typedef Graph::NodeMap BoolNodeMap; \ - typedef Graph::NodeMap IntNodeMap; \ - typedef Graph::NodeMap DoubleNodeMap; \ - typedef Graph::EdgeMap BoolEdgeMap; \ - typedef Graph::EdgeMap IntEdgeMap; \ - typedef Graph::EdgeMap DoubleEdgeMap; + typedef Graph::OutEdgeIt OutEdgeIt; +// typedef Graph::template NodeMap BoolNodeMap; +// typedef Graph::template NodeMap IntNodeMap; +// typedef Graph::template NodeMap DoubleNodeMap; +// typedef Graph::template EdgeMap BoolEdgeMap; +// typedef Graph::template EdgeMap IntEdgeMap; +// typedef Graph::template EdgeMap DoubleEdgeMap; ///Creates convenience typedefs for the undirected graph types and iterators @@ -85,10 +85,10 @@ GRAPH_TYPEDEFS(Graph) \ typedef Graph:: UndirEdge UndirEdge; \ typedef Graph:: UndirEdgeIt UndirEdgeIt; \ - typedef Graph:: IncEdgeIt IncEdgeIt; \ - typedef Graph::UndirEdgeMap BoolUndirEdgeMap; \ - typedef Graph::UndirEdgeMap IntUndirEdgeMap; \ - typedef Graph::UndirEdgeMap DoubleUndirEdgeMap; + typedef Graph:: IncEdgeIt IncEdgeIt; +// typedef Graph::template UndirEdgeMap BoolUndirEdgeMap; +// typedef Graph::template UndirEdgeMap IntUndirEdgeMap; +// typedef Graph::template UndirEdgeMap DoubleUndirEdgeMap; diff -r 474d093466a5 -r 597ce92fae73 lemon/time_measure.h --- a/lemon/time_measure.h Wed Nov 16 18:58:10 2005 +0000 +++ b/lemon/time_measure.h Thu Nov 17 10:14:55 2005 +0000 @@ -378,7 +378,7 @@ TimeStamp full; int total=0; for(int tn=1;tn < 1<<24; tn*=2) { - for(;total(f)(); + for(;totalmin_time) { if(num) *num=total;