From a41700f5dd01b35647df070d33bbfa2b8f801ffd Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 27 Aug 2009 10:53:33 +0000 Subject: [PATCH] remove last statics to make BDS thread-safe --- Mesh/BDS.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mesh/BDS.cpp b/Mesh/BDS.cpp index bb2258ae03..c63ec52ddd 100644 --- a/Mesh/BDS.cpp +++ b/Mesh/BDS.cpp @@ -1076,10 +1076,10 @@ bool BDS_Mesh::collapse_edge_parametric(BDS_Edge *e, BDS_Point *p) // printf("collapsing an edge :"); // print_edge(e); - static BDS_Point *pt[3][1024]; - static BDS_GeomEntity *gs[1024]; - static int ept[2][1024]; - static BDS_GeomEntity *egs[1024]; + BDS_Point *pt[3][1024]; + BDS_GeomEntity *gs[1024]; + int ept[2][1024]; + BDS_GeomEntity *egs[1024]; int nt = 0; { p->getTriangles(t); -- GitLab