diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-12-30 22:45:35 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-12-30 22:45:35 +0000 |
commit | a2eaf4b1f11187099a911a322fb5a54052d5fe97 (patch) | |
tree | 998a332bdf80cb6b5a084c5b790df792fbc8948b /scipy/base/tests/test_function_base.py | |
parent | 2719abddd4e61211f4e8bfa914d82280e179f77f (diff) | |
download | numpy-a2eaf4b1f11187099a911a322fb5a54052d5fe97.tar.gz |
Changed sort to be in-place
Diffstat (limited to 'scipy/base/tests/test_function_base.py')
-rw-r--r-- | scipy/base/tests/test_function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/tests/test_function_base.py b/scipy/base/tests/test_function_base.py index a4c3ef7e2..fafd75eef 100644 --- a/scipy/base/tests/test_function_base.py +++ b/scipy/base/tests/test_function_base.py @@ -304,7 +304,7 @@ class test_filterwindows(ScipyTestCase): class test_trapz(ScipyTestCase): def check_simple(self): - r=trapz(exp(-1/2*(arange(-10,10,.1))**2)/sqrt(2*pi),dx=0.1) + r=trapz(exp(-1.0/2*(arange(-10,10,.1))**2)/sqrt(2*pi),dx=0.1) #check integral of normal equals 1 assert_almost_equal(sum(r),1,7) |