From c88efddac37cf0f3c540c4c27b682910a94687d1 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 7 Apr 2003 15:40:16 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/source/grid/tria.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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())); }; -- 2.39.5