From: Timo Heister Date: Mon, 12 Jan 2015 17:49:05 +0000 (-0500) Subject: fix test X-Git-Tag: v8.3.0-rc1~553^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3e31f659f31397da363cc1954a6d26582fd0ad4;p=dealii.git fix test --- diff --git a/tests/mpi/trilinos_sparse_matrix_02.cc b/tests/mpi/trilinos_sparse_matrix_02.cc index c219430baf..9470137404 100644 --- a/tests/mpi/trilinos_sparse_matrix_02.cc +++ b/tests/mpi/trilinos_sparse_matrix_02.cc @@ -67,7 +67,7 @@ void test () TrilinosWrappers::SparseMatrix A; A.reinit (sp); TrilinosWrappers::SparseMatrix B; - B.reinit(A); + B.reinit (A); A.add(0, 0, 0.1); A.add(0, 2, 0.2); @@ -83,7 +83,8 @@ void test () deallog << "set B=A..." << std::endl; - B = A; + B.copy_from(A); + deallog << "2: " << A.l1_norm() << " " << B.l1_norm() << " (should be " << l1a << " " << l1a << ")" << std::endl;