diff --git a/libsrc/meshing/basegeom.cpp b/libsrc/meshing/basegeom.cpp index 09c9fdba..aa3386a9 100644 --- a/libsrc/meshing/basegeom.cpp +++ b/libsrc/meshing/basegeom.cpp @@ -660,7 +660,7 @@ namespace netgen } else { - for(size_t i : {0UL, pnums_primary.Size()-1}) + for(size_t i : std::vector{0UL, pnums_primary.Size()-1}) { auto p_mapped = trafo(mesh[pnums_primary[i]]); EdgePointGeomInfo gi;