From 79ea9e31e1c8e8ee181608d5357cf17a30b468aa Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 21 May 2020 12:16:24 -0400 Subject: [PATCH] Fix compiling for dim=0 --- include/deal.II/base/polynomial_space.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/base/polynomial_space.h b/include/deal.II/base/polynomial_space.h index 74fb9c98f0..18ea2fda94 100644 --- a/include/deal.II/base/polynomial_space.h +++ b/include/deal.II/base/polynomial_space.h @@ -336,7 +336,7 @@ PolynomialSpace::compute_derivative(const unsigned int i, { const std::array indices = compute_index(i); - double v[dim][order + 1]; + std::array, dim> v; { std::vector tmp(order + 1); for (unsigned int d = 0; d < dim; ++d) -- 2.39.5