]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix test
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 17:52:06 +0000 (17:52 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 17:52:06 +0000 (17:52 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31096 0785d39b-7218-0410-832d-ea1e28bc413d

tests/lac/sparse_matrices.cc

index e194b05555370f8f8b166ae33440b6f614b2661a..af4e018b0925319df2556e3fc5b2769cfe3f61b3 100644 (file)
@@ -283,18 +283,18 @@ int main()
 
   // Switch between regression test
   // and benchmark
-#ifdef DEBUG
+//#ifdef DEBUG
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
   const unsigned int size = 5;
   const unsigned int row_length = 3;
-#else
+/*#else
   deallog.depth_console(1000);
   deallog.log_execution_time(true);
   deallog.log_time_differences(true);
   const unsigned int size = 50;
   const unsigned int row_length = 9;
-#endif
+  #endif*/
 
   check_ez_iterator();
   check_conjugate(logfile);
@@ -316,9 +316,9 @@ int main()
     deallog << "Assemble" << std::endl;
     testproblem.five_point(A, true);
     check_vmult_quadratic(A_res, A, "5-SparseMatrix<double>");
-#ifdef DEBUG
+//#ifdef DEBUG
     check_iterator(A);
-#endif
+//#endif
   }
 
   // block sparse matrix with only
@@ -335,9 +335,9 @@ int main()
     testproblem.five_point(block_A, true);
     std::vector<double> block_A_res;
     check_vmult_quadratic(block_A_res, block_A, "5-BlockSparseMatrix<double>");
-#ifdef DEBUG
+//#ifdef DEBUG
     check_iterator(block_A);
-#endif
+//#endif
   }
 
   // ez sparse matrix
@@ -346,9 +346,9 @@ int main()
     deallog << "Assemble" << std::endl;
     testproblem.five_point(E, true);
     check_vmult_quadratic(E_res, E, "5-SparseMatrixEZ<double>");
-#ifdef DEBUG
+//#ifdef DEBUG
     check_iterator(E);
-#endif
+//#endif
     E.print_statistics(deallog, true);
     E.add(-1., A);
     if (E.l2_norm() < 1.e-14)

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.