Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused check in mpi/tria_copy_triangulation #4231

Merged
merged 1 commit into from
Apr 8, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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