]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix test
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Jun 2013 17:05:36 +0000 (17:05 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Jun 2013 17:05:36 +0000 (17:05 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29809 0785d39b-7218-0410-832d-ea1e28bc413d

tests/petsc/sparse_matrix_02.cc

index da37b6252fe4fc09d88550983f0a3462368b9975..6794fc9deeef40d1dbbe9a76476f4f22a7768de2 100644 (file)
@@ -13,6 +13,7 @@
 
 
 // document that SparseMatrix::operator= is broken
+// now forbidden
 
 #include "../tests.h"
 #include <deal.II/lac/petsc_vector.h>
@@ -40,14 +41,15 @@ void test ()
   Mat mm=m;
   Mat m2m=m2;
   
-  deallog << &mm << " " << &m2m << std::endl;
+  //deallog << mm << " " << m2m << std::endl;
 
-  m2 = m;
+  //forbidden:  m2 = m;
   {
+    //forbidden: PETScWrappers::SparseMatrix m3=m2;
 
     Mat mm=m;
     Mat m2m=m2;
-  deallog << &mm << " " << &m2m << std::endl;
+    //deallog << mm << " " << m2m << 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.