]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix annoying revert bug spotted by tests.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jan 2013 10:25:01 +0000 (10:25 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jan 2013 10:25:01 +0000 (10:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@28063 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_generator.cc

index 072852f5870169c32f1b14a6f00c7cbbf89d2e84..bba053be468bd047d18196f228f5aab9af405e52 100644 (file)
@@ -440,7 +440,7 @@ GridGenerator::parallelepiped (Triangulation<dim>  &tria,
     case 2:
       // assign corners to vertices:
       vertices[1] = corners[0];
-      vertices[2] = corners[0];
+      vertices[2] = corners[1];
 
       // compose the remaining vertex:
       vertices[3] = vertices[1] + vertices[2];

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.