From ec59bff00784123e5c987332efc8a281db51bb1a Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 12 Apr 2022 14:09:30 -0400 Subject: [PATCH] fix a release mode warning --- include/deal.II/meshworker/copy_data.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/deal.II/meshworker/copy_data.h b/include/deal.II/meshworker/copy_data.h index 69f857b0bf..d008d8a1b5 100644 --- a/include/deal.II/meshworker/copy_data.h +++ b/include/deal.II/meshworker/copy_data.h @@ -220,6 +220,7 @@ namespace MeshWorker // So we have to be a bit permissive here. constexpr const int max_index = std::max(std::max(n_matrices, n_vectors), n_dof_indices); + (void)max_index; Assert(index < max_index, ExcIndexRange(index, 0, max_index)); if (index < n_matrices) -- 2.39.5