summaryrefslogtreecommitdiff
path: root/numpy/dual.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/dual.py')
-rw-r--r--numpy/dual.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/dual.py b/numpy/dual.py
index 2a5e0e101..0dc289e38 100644
--- a/numpy/dual.py
+++ b/numpy/dual.py
@@ -15,7 +15,7 @@ __all__ = ['fft','ifft','fftn','ifftn','fft2','ifft2',
have_scipy = 0
try:
import scipy
- if scipy.__version__ >= '0.4.4':
+ if getattr(scipy, '__version__', None) >= '0.4.4':
have_scipy = 1
except ImportError:
pass