summaryrefslogtreecommitdiff
path: root/scipy/base/tests/test_function_base.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-12-30 22:45:35 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-12-30 22:45:35 +0000
commita2eaf4b1f11187099a911a322fb5a54052d5fe97 (patch)
tree998a332bdf80cb6b5a084c5b790df792fbc8948b /scipy/base/tests/test_function_base.py
parent2719abddd4e61211f4e8bfa914d82280e179f77f (diff)
downloadnumpy-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.py2
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)