From 92ab6a49d7d6ecda034043fd91ad99505a28625a Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Wed, 4 Dec 2019 14:29:05 -0600 Subject: [PATCH] Use an atomic write in another location that requires it --- boxtree/rotation_classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxtree/rotation_classes.py b/boxtree/rotation_classes.py index 4fee327..58f1c0a 100644 --- a/boxtree/rotation_classes.py +++ b/boxtree/rotation_classes.py @@ -153,7 +153,7 @@ TRANSLATION_CLASS_FINDER_TEMPLATE = ElementwiseTemplate( } translation_classes[i] = translation_class; - translation_class_is_used[translation_class] = 1; + atomic_or(&translation_class_is_used[translation_class], 1); """) -- GitLab