COIN-OR::LEMON - Graph Library

Changeset 1366:d00b85f8be45 in lemon-0.x


Ignore:
Timestamp:
04/18/05 16:18:12 (15 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1811
Message:

gcc-3.4 compile fix

Location:
src/lemon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/dijkstra.h

    r1359 r1366  
    111111    ///\param G is the graph, to which
    112112    ///we would like to define the \ref ProcessedMap
    113     static ProcessedMap *createProcessedMap(const GR &G)
     113    static ProcessedMap *createProcessedMap(const GR &)
    114114    {
    115115      return new ProcessedMap();
  • src/lemon/graph_to_eps.h

    r1360 r1366  
    812812          double l=sqrt(dvec.normSquare());
    813813          ///\todo better 'epsilon' would be nice here.
    814           xy<double> d(dvec/max(l,1e-9));
     814          xy<double> d(dvec/std::max(l,1e-9));
    815815          xy<double> m;
    816816//        m=xy<double>(_coords[g.target(*i)]+_coords[g.source(*i)])/2.0;
Note: See TracChangeset for help on using the changeset viewer.