Skip to content

Commit

Permalink
FIX: Fix ModuleNotFoundError for Numba 0.49.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamad committed Apr 20, 2020
1 parent c4ade35 commit 8dc5968
Showing 1 changed file with 4 additions and 1 deletion.
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

0 comments on commit 8dc5968

Please sign in to comment.