From 3e29420425f12e778808ecbff52677ab49dd92ae Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Wed, 22 May 2024 15:45:28 +0200 Subject: [PATCH] Step-76: remove redundant for loop --- examples/step-76/step-76.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/step-76/step-76.cc b/examples/step-76/step-76.cc index 90f67c66e0..fd0d69bcb9 100644 --- a/examples/step-76/step-76.cc +++ b/examples/step-76/step-76.cc @@ -1170,8 +1170,7 @@ namespace Euler_DG for (unsigned int v = 0; v < data.n_active_entries_per_cell_batch(cell); ++v) - for (unsigned int d = 0; d < 3; ++d) - max_transport = std::max(max_transport, local_max[v]); + max_transport = std::max(max_transport, local_max[v]); } max_transport = Utilities::MPI::max(max_transport, MPI_COMM_WORLD); -- 2.39.5