COIN-OR::LEMON - Graph Library

Changeset 612:0c8e5c688440 in lemon-main for demo


Ignore:
Timestamp:
04/23/09 11:44:35 (16 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Fix usage of sqrt() (#268)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/graph_to_eps_demo.cc

    r440 r612  
    183183  ListDigraph::NodeMap<Point> hcoords(h);
    184184
    185   int cols=int(sqrt(double(palette.size())));
     185  int cols=int(std::sqrt(double(palette.size())));
    186186  for(int i=0;i<int(paletteW.size());i++) {
    187187    Node n=h.addNode();
Note: See TracChangeset for help on using the changeset viewer.