]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make compile again.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Mar 2013 14:26:25 +0000 (14:26 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Mar 2013 14:26:25 +0000 (14:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@28970 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_out.cc

index e3f21733a6be31a41dd1f62301b14c9813764b7c..d3009d06f502613dcd6352e92427fd102fdfc6de 100644 (file)
@@ -1478,7 +1478,7 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const
 
   for (unsigned int level_index = min_level; level_index <= max_level; level_index++)
     {
-      int font_size = cell_label_font_size * pow(.5, level_index - min_level);
+      int font_size = cell_label_font_size * std::pow(.5, 1.*(level_index - min_level));
 
       out << " text.l" << level_index << "{font-family:Helvetica; text-anchor:middle;"
           << "fill:rgb(25,25,25); font-size:" << font_size << '}'

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.