From 184642adb0d8daa2dcf4115be16a75152b7076f2 Mon Sep 17 00:00:00 2001 From: Christopher Kelly Date: Wed, 6 Jul 2016 18:15:15 -0400 Subject: [PATCH] Fix for pedantic compilers --- lib/lattice/Lattice_transfer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lattice/Lattice_transfer.h b/lib/lattice/Lattice_transfer.h index 4a6e6112..4c9bbc31 100644 --- a/lib/lattice/Lattice_transfer.h +++ b/lib/lattice/Lattice_transfer.h @@ -493,7 +493,7 @@ typename std::enable_if::value && !isSIMDvectorized int ndim = in_grid->Nd(); int in_nsimd = vtype::Nsimd(); - std::vector in_icoor[in_nsimd]; + std::vector > in_icoor(in_nsimd); for(int lane=0; lane < in_nsimd; lane++){ in_icoor[lane].resize(ndim);