From 46e811d7406a3801e70575b09297572e1179809c Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 29 Aug 2023 11:34:57 +0200 Subject: [PATCH] Fix range-based for loop in performance test --- tests/performance/timing_navier_stokes.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/performance/timing_navier_stokes.cc b/tests/performance/timing_navier_stokes.cc index 6eaee3aeaa..a31a6b2fb7 100644 --- a/tests/performance/timing_navier_stokes.cc +++ b/tests/performance/timing_navier_stokes.cc @@ -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); -- 2.39.5