Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: Fix OMP warning coming from numba #730

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions quantecon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@

__version__ = '0.7.2'

# Silent the upstream(openmp via numba) warnings
# The following flag is used to silent the warning.
# For more details see: https://github.com/QuantEcon/QuantEcon.py/issues/627
import os
os.environ['KMP_WARNINGS'] = 'off'

try:
import numba
except:
Expand Down
Loading