]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix cone_04 6094/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 23 Mar 2018 11:13:05 +0000 (12:13 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 23 Mar 2018 11:26:42 +0000 (12:26 +0100)
tests/bits/cone_04.cc

index 7af87e3856f650df20f05401966dd76ed2458697..141f0ccb85788c5f38a46e5d5a94297e2b0f4735 100644 (file)
@@ -29,9 +29,9 @@ void check ()
 
   Triangulation<dim> triangulation;
   GridGenerator::truncated_cone (triangulation);
-  GridTools::transform ([](const Point<dim> &p)
+  GridTools::transform ([](const Point<3> &p)
   {
-    return Point<dim> (-p[1], p[0], p[2]);
+    return Point<3> (-p[1], p[0], p[2]);
   },
   triangulation);
   static const CylindricalManifold<dim> boundary(1);

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.