From 105347931de2f9518e33fdaa7dd23ad8b2d82dd8 Mon Sep 17 00:00:00 2001 From: heister Date: Thu, 3 Oct 2013 17:52:06 +0000 Subject: [PATCH] fix test git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31096 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/lac/sparse_matrices.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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) -- 2.39.5