]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix copy-paste error.
authormike <mike@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Sep 2003 22:56:46 +0000 (22:56 +0000)
committermike <mike@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Sep 2003 22:56:46 +0000 (22:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@8012 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria.cc

index 7d3d4db88538b38ab644c048203db167ca6728a3..726ebfeef773ec72dae35492ad2b3a8e50d52b63 100644 (file)
@@ -1061,10 +1061,12 @@ void Triangulation<3>::create_triangulation (const std::vector<Point<3> >    &v,
          ++vertex_touch_count[i->first.second];
        };
 
-                                      // assert minimum touch count
-                                      // is at least two
+                                      // assert minimum touch count
+                                      // is at least three. if not so,
+                                      // then clean triangulation and
+                                      // exit with an exception
       if (! (* (std::min_element(vertex_touch_count.begin(),
-                                vertex_touch_count.end())) >= 2))
+                                vertex_touch_count.end())) >= 3))
        {
                                           // clear will only work if
                                           // there are no

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.