diff --git a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h index 7da4918a7f7..2333ef76bfe 100644 --- a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h +++ b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/topologically_correct_marching_cubes_functors.h @@ -314,7 +314,7 @@ private: // A hexahedron has twelve edges, save the intersection of the isosurface with the edge // save global edge and global vertex index of isosurface - std::vector vertices(12); + std::array vertices; // save local coordinate along the edge of intersection point std::vector ecoord(12, FT(0));