From e3e31f659f31397da363cc1954a6d26582fd0ad4 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 12 Jan 2015 12:49:05 -0500 Subject: [PATCH] fix test --- tests/mpi/trilinos_sparse_matrix_02.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.39.5