diff options
author | cookedm <cookedm@localhost> | 2005-10-30 22:37:54 +0000 |
---|---|---|
committer | cookedm <cookedm@localhost> | 2005-10-30 22:37:54 +0000 |
commit | d3cb15876dfa9c2ef98f7814b32135bcd5cfde78 (patch) | |
tree | 6b66dfa0a37d2b14402eeb163e782e9903f0f967 /scipy/base/polynomial.py | |
parent | e06ac3f080b08f57dea36c8aab67be673f295709 (diff) | |
download | numpy-d3cb15876dfa9c2ef98f7814b32135bcd5cfde78.tar.gz |
Don't try to handle ImportError in deconvolve when scipy.signal doesn't exist
Diffstat (limited to 'scipy/base/polynomial.py')
-rw-r--r-- | scipy/base/polynomial.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scipy/base/polynomial.py b/scipy/base/polynomial.py index 5de9c8c2c..ffdaa5849 100644 --- a/scipy/base/polynomial.py +++ b/scipy/base/polynomial.py @@ -288,10 +288,7 @@ def polymul(a1, a2): def deconvolve(signal, divisor): """Deconvolves divisor out of signal. Requires scipy.signal library """ - try: - import scipy.signal - except ImportError: - print "You need scipy.signal to use this function." + import scipy.signal num = atleast_1d(signal) den = atleast_1d(divisor) N = len(num) |