Use an array instead of a fixed size vector

This commit is contained in:
Mael Rouxel-Labbé 2024-03-01 12:29:54 +01:00
parent 435f42c113
commit 45777165eb
1 changed files with 1 additions and 1 deletions

View File

@ -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<Point_index> vertices(12);
std::array<Point_index, 12> vertices;
// save local coordinate along the edge of intersection point
std::vector<FT> ecoord(12, FT(0));