From: Magdalena Schreter Date: Wed, 22 May 2024 09:58:25 +0000 (+0200) Subject: step-67: remove superfluous for loop X-Git-Tag: v9.6.0-rc1~248^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17060%2Fhead;p=dealii.git step-67: remove superfluous for loop --- 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);