From: Wolfgang Bangerth Date: Fri, 15 Oct 2021 17:28:04 +0000 (-0600) Subject: Simplify a piece of code. X-Git-Tag: v9.4.0-rc1~936^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9a03412cd1e7f0a120ca4a9f3c598606d6649bc;p=dealii.git Simplify a piece of code. --- diff --git a/include/deal.II/numerics/data_out_dof_data.templates.h b/include/deal.II/numerics/data_out_dof_data.templates.h index 1750001cd2..4d1daac9a4 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -237,13 +237,13 @@ namespace internal const auto reference_cell = (*fe)[i].reference_cell(); if (reference_cell.is_hyper_cube()) - needs_hypercube_setup |= true; + needs_hypercube_setup = true; else if (reference_cell.is_simplex()) - needs_simplex_setup |= true; + needs_simplex_setup = true; else if (reference_cell == dealii::ReferenceCells::Wedge) - needs_wedge_setup |= true; + needs_wedge_setup = true; else if (reference_cell == dealii::ReferenceCells::Pyramid) - needs_pyramid_setup |= true; + needs_pyramid_setup = true; else Assert(false, ExcNotImplemented()); }