From: Martin Kronbichler Date: Fri, 13 Mar 2015 12:48:34 +0000 (+0100) Subject: Make sure to call compress() in test X-Git-Tag: v8.3.0-rc1~374^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=543a39d4258ad67263d2169dcdfdf2126dc9ede4;p=dealii.git Make sure to call compress() in test --- diff --git a/tests/trilinos/assemble_matrix_parallel_01.cc b/tests/trilinos/assemble_matrix_parallel_01.cc index 55d9826653..bfd309c229 100644 --- a/tests/trilinos/assemble_matrix_parallel_01.cc +++ b/tests/trilinos/assemble_matrix_parallel_01.cc @@ -340,6 +340,8 @@ void LaplaceProblem::assemble_reference () local_assemble(*p, assembly_data, copy_data); copy_local_to_global(copy_data); } + test_matrix.compress(VectorOperation::add); + test_rhs.compress(VectorOperation::add); reference_matrix.add(1., test_matrix); reference_rhs = test_rhs; @@ -369,6 +371,8 @@ void LaplaceProblem::assemble_test () Assembly::Copy::Data (), 2*MultithreadInfo::n_threads(), 1); + test_matrix.compress(VectorOperation::add); + test_rhs.compress(VectorOperation::add); test_matrix.add(-1, reference_matrix);