diff options
author | sasha <sasha@localhost> | 2006-01-15 02:57:33 +0000 |
---|---|---|
committer | sasha <sasha@localhost> | 2006-01-15 02:57:33 +0000 |
commit | d04bb02f393f0122e52b804bf548e0e18a0a2ecc (patch) | |
tree | ae3aad3782ed838f43d71047d73e6d17ccdac10d /numpy/dual.py | |
parent | 42b3ee706e1524d5133211731da6888c8753df07 (diff) | |
download | numpy-d04bb02f393f0122e52b804bf548e0e18a0a2ecc.tar.gz |
handle odd scipy installations
Diffstat (limited to 'numpy/dual.py')
-rw-r--r-- | numpy/dual.py | 2 |
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 |