From: Wolfgang Bangerth Date: Fri, 11 Aug 2006 15:10:44 +0000 (+0000) Subject: Use a higher accuracy for results. Add a comment. X-Git-Tag: v8.0.0~11305 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72d0728b29968f1b7a8e8d83186d9f13c6f34e43;p=dealii.git Use a higher accuracy for results. Add a comment. git-svn-id: https://svn.dealii.org/trunk@13663 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/dof_tools_03.cc b/tests/bits/dof_tools_03.cc index 5860810557..fee3c0aede 100644 --- a/tests/bits/dof_tools_03.cc +++ b/tests/bits/dof_tools_03.cc @@ -29,6 +29,15 @@ template void check_this (const DoFHandler &dof_handler) { + // use a higher output accuracy for this + // test. the reason is that many of the + // constraints are negative powers of 2, + // which have exact representations with 3 + // or 4 digits of accuracy, but not with + // the usual 2 digits (for example, 0.375, + // which sometimes rounds to 0.38 and + // sometimes to 0.37, depending on how + // intermediate errors have accumulated) deallog.get_file_stream().precision (5); // don't run this test if hanging // nodes are not implemented