]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix trilinos warning 1874/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 16 Nov 2015 13:36:03 +0000 (08:36 -0500)
committerTimo Heister <timo.heister@gmail.com>
Mon, 16 Nov 2015 13:36:03 +0000 (08:36 -0500)
source/lac/trilinos_precondition_ml.cc

index df79ff867b3396e50fe28a715e0339e819c04a1b..0b7d96eee9ee07e2daab73c2c517f33e1ac9e6c8 100644 (file)
@@ -183,6 +183,7 @@ namespace TrilinosWrappers
     if (constant_modes_dimension > 0)
       {
         const size_type global_size = n_global_rows(matrix);
+        (void)global_length; // work around compiler warning about unused function in release mode
         Assert (global_size ==
                 static_cast<size_type>(global_length(distributed_constant_modes)),
                 ExcDimensionMismatch(global_size,

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.