From: Peter Munch Date: Wed, 22 May 2024 13:45:28 +0000 (+0200) Subject: Step-76: remove redundant for loop X-Git-Tag: v9.6.0-rc1~242^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e29420425f12e778808ecbff52677ab49dd92ae;p=dealii.git Step-76: remove redundant for loop --- 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);