changeset 1366 | d00b85f8be45 |
parent 1360 | 4338e4280f67 |
child 1367 | a490662291b9 |
1.1 --- a/src/lemon/graph_to_eps.h Mon Apr 18 13:34:23 2005 +0000 1.2 +++ b/src/lemon/graph_to_eps.h Mon Apr 18 14:18:12 2005 +0000 1.3 @@ -811,7 +811,7 @@ 1.4 xy<double> dvec(_coords[g.target(*i)]-_coords[g.source(*i)]); 1.5 double l=sqrt(dvec.normSquare()); 1.6 ///\todo better 'epsilon' would be nice here. 1.7 - xy<double> d(dvec/max(l,1e-9)); 1.8 + xy<double> d(dvec/std::max(l,1e-9)); 1.9 xy<double> m; 1.10 // m=xy<double>(_coords[g.target(*i)]+_coords[g.source(*i)])/2.0; 1.11