From: Daniel Arndt Date: Sat, 8 Apr 2017 10:01:41 +0000 (+0200) Subject: Remove unused check in mpi/tria_copy_triangulation X-Git-Tag: v9.0.0-rc1~1716^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43f62cdc0c989fe22c9d9cc43091e7ea5cca1628;p=dealii.git Remove unused check in mpi/tria_copy_triangulation --- 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()); }