diff options
author | Nathaniel J. Smith <njs@pobox.com> | 2012-09-07 10:49:45 +0100 |
---|---|---|
committer | Nathaniel J. Smith <njs@pobox.com> | 2012-09-07 10:49:45 +0100 |
commit | a16f387350c9524c45ca36ff26dbb2c431d9dc41 (patch) | |
tree | 28fccf80bde2d5e9da633d81ef7f42a0a2ebbfc6 /numpy/polynomial/polyutils.py | |
parent | a744f3cd24d2ad920f311dc58878a861599bd01b (diff) | |
download | numpy-a16f387350c9524c45ca36ff26dbb2c431d9dc41.tar.gz |
FIX: loosen numerical tolerance in test_pareto()
The problem was that in 32bit Ubuntu 12.04, one gets the following:
>
/home/njs/numpy/.tox/py27/local/lib/python2.7/site-packages/numpy/random/tests/test_random.py(363)test_pareto()
-> np.testing.assert_array_almost_equal(actual, desired, decimal=15)
(Pdb) actual[1, 0]
52828779.702948704
(Pdb) desired[1, 0]
52828779.702948518
and the test was comparing the numbers to 1e-14, which obviously
failed.
Fixes #424.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions