]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix test
authorTimo Heister <timo.heister@gmail.com>
Mon, 12 Jan 2015 17:49:05 +0000 (12:49 -0500)
committerTimo Heister <timo.heister@gmail.com>
Mon, 12 Jan 2015 18:11:19 +0000 (13:11 -0500)
tests/mpi/trilinos_sparse_matrix_02.cc

index c219430bafdbe99d195e34643af25acd77f5ea4c..94701374044a910509b56add9399df67340bf7b3 100644 (file)
@@ -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;
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.