Skip to content

Commit

Permalink
Merge pull request #4231 from masterleinad/fix_test
Browse files Browse the repository at this point in the history
Remove unused check in mpi/tria_copy_triangulation
  • Loading branch information
tjhei committed Apr 8, 2017
2 parents e9592d8 + 43f62cd commit 73c0545
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/mpi/tria_copy_triangulation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<dim,dim>::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 ())
Expand Down Expand Up @@ -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());
}


Expand Down

0 comments on commit 73c0545

Please sign in to comment.