]> https://gitweb.dealii.org/ - dealii.git/commitdiff
try to work around an internal compiler error
authorMatthias Maier <tamiko@43-1.org>
Thu, 13 Feb 2020 20:42:02 +0000 (14:42 -0600)
committerMatthias Maier <tamiko@43-1.org>
Sat, 7 Mar 2020 18:28:55 +0000 (12:28 -0600)
examples/step-69/step-69.cc

index 7ec7bf8e3b82e7f948f471c8264526cb5a1c4893..81f497c5595186a6117b25731653af7c28b448b0 100644 (file)
@@ -1017,9 +1017,8 @@ namespace Step69
     for (auto &matrix : nij_matrix)
       matrix = 0.;
 
-    const unsigned int dofs_per_cell =
-      discretization->finite_element.dofs_per_cell;
-    const unsigned int n_q_points = discretization->quadrature.size();
+    unsigned int dofs_per_cell = discretization->finite_element.dofs_per_cell;
+    unsigned int n_q_points    = discretization->quadrature.size();
 
     /* This is the implementation of the scratch data required by WorkStream */
     MeshWorker::ScratchData<dim> scratch_data(

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.