]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix bug in 1d->2d conversion.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Aug 2000 14:03:41 +0000 (14:03 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Aug 2000 14:03:41 +0000 (14:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@3286 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out_rotation.cc

index 487101adcbca7f3f17b1559f7843260855d40a7f..176916c5d155b8ffe17d43fef0d1aedf7c578c05 100644 (file)
@@ -98,7 +98,7 @@ void DataOutRotation<dim>::build_some_patches (Data data)
              case 1:
              {
                const double r1 = cell->vertex(0)(0),
-                            r2 = cell->vertex(2)(0);
+                            r2 = cell->vertex(1)(0);
                Assert (r1 >= 0, ExcRadialVariableHasNegativeValues(r1));       
                Assert (r2 >= 0, ExcRadialVariableHasNegativeValues(r2));
                

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.