From eb3dea8e5044c5808d0d2b407aff59f8c03f46e4 Mon Sep 17 00:00:00 2001 From: Simon Praetorius <simon.praetorius@tu-dresden.de> Date: Tue, 28 Aug 2018 18:33:04 +0200 Subject: [PATCH] small correction for pre c++17 compilers --- src/geometrygrid.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geometrygrid.cc b/src/geometrygrid.cc index 0bb10c7..8b56ffd 100644 --- a/src/geometrygrid.cc +++ b/src/geometrygrid.cc @@ -65,7 +65,7 @@ int main (int argc, char** argv) using HostGrid = YaspGrid<2>; FieldVector<double,2> bbox = {2.0*M_PI, 2.0*M_PI}; - std::array num = {4, 12}; + std::array<int,2> num = {4, 12}; HostGrid hostGrid{bbox, num}; //, std::bitset<2>{"11"}}; // grid build up of mapped coordinates -- GitLab