]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix range-based for loop in performance test 15939/head
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Tue, 29 Aug 2023 09:34:57 +0000 (11:34 +0200)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Tue, 29 Aug 2023 09:34:57 +0000 (11:34 +0200)
tests/performance/timing_navier_stokes.cc

index 6eaee3aeaa00649d9adccd1dc336d15ebbf111ef..a31a6b2fb7281237ee75232bf4ef21ec4ed72565 100644 (file)
@@ -1163,7 +1163,7 @@ namespace NavierStokes_DG
                             EvaluationFlags::values |
                               EvaluationFlags::gradients);
 
-        for (const unsigned int q : quadrature_point_indices())
+        for (const unsigned int q : phi.quadrature_point_indices())
           {
             const auto w_q      = phi.get_value(q);
             const auto grad_w_q = phi.get_gradient(q);

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.