]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix assertion: don't use a field that we just cleared since the output will be uninte...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Apr 2003 15:40:16 +0000 (15:40 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Apr 2003 15:40:16 +0000 (15:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@7363 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 2477752b18f7183162ba296b27b86de29782fdff..99c6f5e3e24e1d8282c27ee0f945cbf596d00082 100644 (file)
@@ -453,7 +453,8 @@ void Triangulation<2>::create_triangulation (const std::vector<Point<2> >    &v,
              subscribe();
            
            Assert (false,
-                   ExcInvalidVertexIndex (cell, cells[cell].vertices[vertex], vertices.size()));
+                   ExcInvalidVertexIndex (cell, cells[cell].vertices[vertex],
+                                           v.size()));
          };
       
       

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.