From: Matthias Maier Date: Thu, 7 May 2020 01:12:01 +0000 (-0500) Subject: add a comment X-Git-Tag: v9.2.0-rc1~110^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31da5f517d4d4b986b3a9f33902e50e6c7bd0fe3;p=dealii.git add a comment --- diff --git a/tests/base/utilities_pack_unpack_07.cc b/tests/base/utilities_pack_unpack_07.cc index b040175ab3..a617cf6a3a 100644 --- a/tests/base/utilities_pack_unpack_07.cc +++ b/tests/base/utilities_pack_unpack_07.cc @@ -59,7 +59,9 @@ check(const double (&array)[N]) deallog << "packed array without compression: " << array_uncompressed.size() << std::endl; - // set the lowest digit to 0: + // compression ratio might change depending on architecture and zlib + // library used, so set the lowest digit to 0 to make this test more + // robust: #ifdef DEAL_II_WITH_ZLIB deallog << "packed array with compression: " << (array_compressed.size() / 10) * 10 << std::endl;