# HG changeset patch # User Alpar Juttner # Date 2009-04-23 11:44:35 # Node ID 0c8e5c688440b6b90b285cd9af3c22c699b34748 # Parent 85cb3aa71cced72f8915b8abf50f705037a76bb1 Fix usage of sqrt() (#268) diff --git a/demo/graph_to_eps_demo.cc b/demo/graph_to_eps_demo.cc --- a/demo/graph_to_eps_demo.cc +++ b/demo/graph_to_eps_demo.cc @@ -182,7 +182,7 @@ ListDigraph::NodeMap hcolors(h); ListDigraph::NodeMap hcoords(h); - int cols=int(sqrt(double(palette.size()))); + int cols=int(std::sqrt(double(palette.size()))); for(int i=0;i