summaryrefslogtreecommitdiff
path: root/scipy/base/tests/test_function_base.py
diff options
context:
space:
mode:
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)