From ced34d27a8eef42e0f963afa4989e2383fc3ca77 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Wed, 31 Mar 2010 02:26:14 +0000 Subject: BUG: fix kaiser for M=1. --- numpy/lib/tests/test_function_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/tests/test_function_base.py') 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. , -- cgit v1.2.1