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

FIX: Updates for Numba 0.49.0 #531

Merged
merged 4 commits into from
Apr 21, 2020
Merged
Changes from 1 commit
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
Next Next commit
FIX: Fix ModuleNotFoundError for Numba 0.49.0
  • Loading branch information
oyamad committed Apr 20, 2020
commit 7b3c40e78e30e109f769947d152c73a86d658f6b
5 changes: 4 additions & 1 deletion quantecon/util/numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"""
import numpy as np
from numba import jit, generated_jit, types
from numba.targets.linalg import _LAPACK
try:
from numba.np.linalg import _LAPACK # for Numba >= 0.49.0
except ModuleNotFoundError:
from numba.targets.linalg import _LAPACK # for Numba < 0.49.0


# BLAS kinds as letters
Expand Down