diff options
author | David Cournapeau <cournape@gmail.com> | 2010-03-31 02:26:14 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2010-03-31 02:26:14 +0000 |
commit | ced34d27a8eef42e0f963afa4989e2383fc3ca77 (patch) | |
tree | 0b1d244cb0d4c0bce10b0206c4056cc5e91d9b8d /numpy/lib/tests/test_function_base.py | |
parent | cfb3c55e3813cc05673a37452dea405fc0acea03 (diff) | |
download | numpy-ced34d27a8eef42e0f963afa4989e2383fc3ca77.tar.gz |
BUG: fix kaiser for M=1.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index 36db8baa4..330a1a51f 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -778,7 +778,7 @@ class Test_i0(TestCase): class TestKaiser(TestCase): def test_simple(self): assert_almost_equal(kaiser(0, 1.0), array([])) - assert isnan(kaiser(1, 1.0)) + assert isfinite(kaiser(1, 1.0)) assert_almost_equal(kaiser(2, 1.0), array([ 0.78984831, 0.78984831])) assert_almost_equal(kaiser(5, 1.0), array([ 0.78984831, 0.94503323, 1. , |