From 31da5f517d4d4b986b3a9f33902e50e6c7bd0fe3 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 6 May 2020 20:12:01 -0500 Subject: [PATCH] add a comment --- tests/base/utilities_pack_unpack_07.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5