Skip to content

Commit a79759f

Browse files
committed
Merge branch 'master' of https://github.com/noklam/tensor-sensor into master
2 parents b9a7f37 + 3f69a95 commit a79759f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tsensor/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"""
2424
__all__ = ["ast", "parsing", "viz", "analysis", "version"]
2525

26+
# To fix an OpenMP runtime link issue.
27+
import os
28+
os.environ['KMP_DUPLICATE_LIB_OK'] = "True"
29+
2630
# These classes/functions are the primary user interface so import them directly
2731
import tsensor.ast
2832
import tsensor.parsing

0 commit comments

Comments
 (0)