From b603d91738683668c4311e49ea79399ccbf5361d Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 14 Nov 2008 16:00:56 +0000 Subject: [PATCH] *** empty log message *** --- Geo/GModelIO_Mesh.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Geo/GModelIO_Mesh.cpp b/Geo/GModelIO_Mesh.cpp index 3cef450ce8..0ea352cf83 100644 --- a/Geo/GModelIO_Mesh.cpp +++ b/Geo/GModelIO_Mesh.cpp @@ -2398,7 +2398,8 @@ int GModel::writeDIFF(const std::string &name, bool binary, bool saveAll, // models with incomplete topology. For example, when we merge 2 STL // triangulations we don't have the boundary information between the // faces, and the vertices would end up categorized on either one.) - std::list<int> vertexTags[numVertices], boundaryIndicators; + std::vector<std::list<int> > vertexTags(numVertices); + std::list<int> boundaryIndicators; int numBoundaryIndicators = 0; for(riter it = firstRegion(); it != lastRegion(); it++){ std::list<GFace*> faces = (*it)->faces(); -- GitLab