]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify a piece of code. 12833/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 15 Oct 2021 17:28:04 +0000 (11:28 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 15 Oct 2021 17:28:04 +0000 (11:28 -0600)
include/deal.II/numerics/data_out_dof_data.templates.h

index 1750001cd276b39a87447adf6404d03b41566d25..4d1daac9a482bfc6eda16b47033179021d69573e 100644 (file)
@@ -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());
               }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.