From: wolf Date: Mon, 7 Apr 2003 15:40:16 +0000 (+0000) Subject: Fix assertion: don't use a field that we just cleared since the output will be uninte... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c88efddac37cf0f3c540c4c27b682910a94687d1;p=dealii-svn.git Fix assertion: don't use a field that we just cleared since the output will be unintelligible. git-svn-id: https://svn.dealii.org/trunk@7363 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/tria.cc b/deal.II/deal.II/source/grid/tria.cc index 2477752b18..99c6f5e3e2 100644 --- a/deal.II/deal.II/source/grid/tria.cc +++ b/deal.II/deal.II/source/grid/tria.cc @@ -453,7 +453,8 @@ void Triangulation<2>::create_triangulation (const std::vector > &v, subscribe(); Assert (false, - ExcInvalidVertexIndex (cell, cells[cell].vertices[vertex], vertices.size())); + ExcInvalidVertexIndex (cell, cells[cell].vertices[vertex], + v.size())); };