star-enclosures-3d

Extract enclosures from 3D geometry
git clone git://git.meso-star.fr/star-enclosures-3d.git
Log | Files | Refs | README | LICENSE

commit f286f91d76b152c4a2c75ac2f50f28660aa5d37d
parent 202082a4aaa8116f329f0fb2044f3bd4e4bad86d
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri, 30 Mar 2018 16:35:24 +0200

BugFix: vars shared among threads should have been private

Diffstat:
Msrc/senc_scene_analyze.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/senc_scene_analyze.c b/src/senc_scene_analyze.c @@ -967,8 +967,6 @@ build_result struct triangle_enc* triangles_enc; const struct triangle_comp* triangles_comp; volatile int exit_for = 0; - int64_t tt; - int64_t ee; ASSERT(desc && connex_components && triangles_comp_array); @@ -985,6 +983,8 @@ build_result #pragma omp parallel { struct htable_vrtx_id vtable; + int64_t tt; + int64_t ee; /* Build global enclosure information */ #pragma omp for