]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compilation errors 2135/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 5 Feb 2016 03:20:12 +0000 (22:20 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 5 Feb 2016 03:20:12 +0000 (22:20 -0500)
gcc and intel rightfully want the template parameters spelled out.

source/grid/grid_generator.cc

index c73d78ae54826c271f62508e84c4d5f77eb5ffea..92225b8e1359f8e7310e7be16656705d8cd6161e 100644 (file)
@@ -747,7 +747,7 @@ namespace GridGenerator
     edges[0] = corners[0];
     edges[1] = corners[1];
     std::vector<unsigned int> subdivisions;
-    subdivided_parallelepiped(tria, origin, edges, subdivisions, colorize);
+    subdivided_parallelepiped<2,2>(tria, origin, edges, subdivisions, colorize);
   }
 
 
@@ -807,7 +807,7 @@ namespace GridGenerator
         edges[i] = corners[i];
       }
 
-    subdivided_parallelepiped (tria, origin, edges, subdivisions, colorize);
+    subdivided_parallelepiped<dim,dim> (tria, origin, edges, subdivisions, colorize);
   }
 
   // Parallelepiped implementation in 1d, 2d, and 3d. @note The
@@ -829,7 +829,7 @@ namespace GridGenerator
     if (subdivisions.size()==0)
       {
         std::vector<unsigned int> new_subdivisions(dim, 1);
-        subdivided_parallelepiped(tria, origin, edges, new_subdivisions, colorize);
+        subdivided_parallelepiped<dim,spacedim>(tria, origin, edges, new_subdivisions, colorize);
         return;
       }
 

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.