From 95118c9c78a317f1ca78b1470451e20499a39684 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 20 Apr 2018 10:14:25 -0600 Subject: [PATCH] Fix a test by increasing the precision of output. The test outputs 6 digits, so if there is a difference in the 7th digit that leads to different 6-digit-rounding, then that produces a difference that is exactly at the numdiff threshold and the test fails. Fix this by outputting 7 digits. The difference between the current output and the stored output is then at most one half of the numdiff tolerance, and the test succeeds. --- tests/fe/rt_bubbles_2.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/fe/rt_bubbles_2.cc b/tests/fe/rt_bubbles_2.cc index 6b08f32d10..848161039a 100644 --- a/tests/fe/rt_bubbles_2.cc +++ b/tests/fe/rt_bubbles_2.cc @@ -158,6 +158,7 @@ int main() { initlog(); + deallog << std::setprecision(7); deallog << std::fixed; for (unsigned int degree=1; degree<4; ++degree) -- 2.39.5