summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index af53ac417..8db3705f7 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -4,7 +4,7 @@ import os
import sys
import warnings
import collections
-from . import multiarray
+from numpy.core import multiarray
from . import umath
from .umath import (invert, sin, UFUNC_BUFSIZE_DEFAULT, ERR_IGNORE,
ERR_WARN, ERR_RAISE, ERR_CALL, ERR_PRINT, ERR_LOG,
@@ -1084,7 +1084,7 @@ try:
os.environ['openblas_main_free'] = '1'
if 'gotoblas_main_free' not in os.environ:
os.environ['gotoblas_main_free'] = '1'
- from ._dotblas import vdot, inner
+ from ._dotblas import vdot
except ImportError:
# docstrings are in add_newdocs.py
inner = multiarray.inner
@@ -1096,6 +1096,7 @@ finally:
del envbak
dot = multiarray.dot
+inner = multiarray.inner
def alterdot():
warnings.warn("alterdot no longer does anything.", DeprecationWarning)