From e2fd7647a592af04b3bafffbb53e21f62738a2be Mon Sep 17 00:00:00 2001 From: Magdalena Schreter Date: Wed, 22 May 2024 11:58:25 +0200 Subject: [PATCH] step-67: remove superfluous for loop --- examples/step-67/step-67.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/step-67/step-67.cc b/examples/step-67/step-67.cc index 54d9fad1f2..2584015880 100644 --- a/examples/step-67/step-67.cc +++ b/examples/step-67/step-67.cc @@ -1717,8 +1717,7 @@ namespace Euler_DG // speed only on the valid cells of a cell batch. 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