summaryrefslogtreecommitdiff
path: root/numpy/testing
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2011-01-21 00:54:09 -0800
committerMark Wiebe <mwwiebe@gmail.com>2011-01-21 09:01:23 -0800
commit87596cf6a0e6becccea111727435605fa3615e49 (patch)
tree0a393998c502827db23cb06ef800a7cb6ea4c5db /numpy/testing
parent6c6dc487ca15818d1f4cc764debb15d73a61c03b (diff)
downloadnumpy-87596cf6a0e6becccea111727435605fa3615e49.tar.gz
ENH: ufunc: Make many more tests pass with the new ufunc code
Diffstat (limited to 'numpy/testing')
-rw-r--r--numpy/testing/tests/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/tests/test_utils.py b/numpy/testing/tests/test_utils.py
index 5106c1184..9798a25be 100644
--- a/numpy/testing/tests/test_utils.py
+++ b/numpy/testing/tests/test_utils.py
@@ -413,7 +413,7 @@ class TestULP(unittest.TestCase):
def test_double(self):
# Generate 1 + small deviation, check that adding eps gives a few UNL
- x = np.ones(10).astype(np.float32)
+ x = np.ones(10).astype(np.float64)
x += 0.01 * np.random.randn(10).astype(np.float64)
eps = np.finfo(np.float64).eps
assert_array_max_ulp(x, x+eps, maxulp=200)