From: Timo Heister Date: Thu, 3 Oct 2013 17:52:06 +0000 (+0000) Subject: fix test X-Git-Tag: v8.1.0~570^2~128 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c967d5d3696d485d6bcfc9c4c0463a7913a1fb0;p=dealii.git fix test git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31096 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/lac/sparse_matrices.cc b/tests/lac/sparse_matrices.cc index e194b05555..af4e018b09 100644 --- a/tests/lac/sparse_matrices.cc +++ b/tests/lac/sparse_matrices.cc @@ -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"); -#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 block_A_res; check_vmult_quadratic(block_A_res, block_A, "5-BlockSparseMatrix"); -#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"); -#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)