From 43f62cdc0c989fe22c9d9cc43091e7ea5cca1628 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 8 Apr 2017 12:01:41 +0200 Subject: [PATCH] Remove unused check in mpi/tria_copy_triangulation --- tests/mpi/tria_copy_triangulation.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/mpi/tria_copy_triangulation.cc b/tests/mpi/tria_copy_triangulation.cc index c3991de6d6..34fbfb0b10 100644 --- a/tests/mpi/tria_copy_triangulation.cc +++ b/tests/mpi/tria_copy_triangulation.cc @@ -59,10 +59,13 @@ void test() new_tr.copy_triangulation (tr); + Assert (tr.n_active_cells() == new_tr.n_active_cells(), ExcInternalError()); + Assert (tr.n_levels() == new_tr.n_levels(), ExcInternalError()); + typename Triangulation::active_cell_iterator cell1, cell2; for (cell1 = tr.begin_active(), cell2 = new_tr.begin_active(); - cell1 != tr.end(), cell2 != new_tr.end(); + cell1 != tr.end(); ++cell1, ++cell2) { if (cell1->is_locally_owned ()) @@ -109,11 +112,6 @@ void test() else Assert (false, ExcInternalError()); }; - -// assert_tria_equal("tria_copy_triangulation", tr, new_tr); - - Assert (tr.n_active_cells() == new_tr.n_active_cells(), ExcInternalError()); - Assert (tr.n_levels() == new_tr.n_levels(), ExcInternalError()); } -- 2.39.5