From ae1555f9ddcfcead9af0e73b608b58371a0e7472 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 16 Nov 2015 08:36:03 -0500 Subject: [PATCH] fix trilinos warning --- source/lac/trilinos_precondition_ml.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/lac/trilinos_precondition_ml.cc b/source/lac/trilinos_precondition_ml.cc index df79ff867b..0b7d96eee9 100644 --- a/source/lac/trilinos_precondition_ml.cc +++ b/source/lac/trilinos_precondition_ml.cc @@ -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(global_length(distributed_constant_modes)), ExcDimensionMismatch(global_size, -- 2.39.5