From 2f4323db80a718cd0ed00520ee68800cad7a4d67 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 29 Oct 2015 10:43:40 -0400 Subject: [PATCH] add missing changes to fix bdm tests the PR #1778 written to fix tests/fe/bdm_[89], also see #1770, did not include the necessary changes to the .cc files. --- tests/fe/bdm_8.cc | 3 ++- tests/fe/bdm_9.cc | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/fe/bdm_8.cc b/tests/fe/bdm_8.cc index b0b6e34f9f..de8f98129d 100644 --- a/tests/fe/bdm_8.cc +++ b/tests/fe/bdm_8.cc @@ -108,7 +108,8 @@ main() for (unsigned int i=1; i<4; ++i) { test<2>(i); - test<3>(i); + if (i<3) + test<3>(i); } return 0; diff --git a/tests/fe/bdm_9.cc b/tests/fe/bdm_9.cc index fde01e73c6..8a606c6f6a 100644 --- a/tests/fe/bdm_9.cc +++ b/tests/fe/bdm_9.cc @@ -70,7 +70,7 @@ test (const unsigned int degree) mass_matrix.print_formatted (logfile, 3, false, 0, " ", 1); - SolverControl solver_control (dofs_per_cell, + SolverControl solver_control (3*dofs_per_cell, 1e-8); PrimitiveVectorMemory<> vector_memory; SolverCG<> cg (solver_control, vector_memory); @@ -99,7 +99,8 @@ main() for (unsigned int i=1; i<4; ++i) { test<2>(i); - test<3>(i); + if (i<3) + test<3>(i); } return 0; -- 2.39.5