1.1 --- a/src/lemon/dijkstra.h Mon Apr 18 13:34:23 2005 +0000
1.2 +++ b/src/lemon/dijkstra.h Mon Apr 18 14:18:12 2005 +0000
1.3 @@ -110,7 +110,7 @@
1.4 ///This function instantiates a \ref ProcessedMap.
1.5 ///\param G is the graph, to which
1.6 ///we would like to define the \ref ProcessedMap
1.7 - static ProcessedMap *createProcessedMap(const GR &G)
1.8 + static ProcessedMap *createProcessedMap(const GR &)
1.9 {
1.10 return new ProcessedMap();
1.11 }
2.1 --- a/src/lemon/graph_to_eps.h Mon Apr 18 13:34:23 2005 +0000
2.2 +++ b/src/lemon/graph_to_eps.h Mon Apr 18 14:18:12 2005 +0000
2.3 @@ -811,7 +811,7 @@
2.4 xy<double> dvec(_coords[g.target(*i)]-_coords[g.source(*i)]);
2.5 double l=sqrt(dvec.normSquare());
2.6 ///\todo better 'epsilon' would be nice here.
2.7 - xy<double> d(dvec/max(l,1e-9));
2.8 + xy<double> d(dvec/std::max(l,1e-9));
2.9 xy<double> m;
2.10 // m=xy<double>(_coords[g.target(*i)]+_coords[g.source(*i)])/2.0;
2.11