]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add a comment 10048/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 7 May 2020 01:12:01 +0000 (20:12 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 7 May 2020 01:12:01 +0000 (20:12 -0500)
tests/base/utilities_pack_unpack_07.cc

index b040175ab336afd19813ba1e57addb3c89900e1a..a617cf6a3a97b051e94c3592f760f095fab653a6 100644 (file)
@@ -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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.