Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: loosen numerical tolerance in test_pareto() #430

Merged
merged 1 commit into from Sep 11, 2012

Commits on Sep 7, 2012

  1. 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 numpy#424.
    njsmith committed Sep 7, 2012
    Copy the full SHA
    a16f387 View commit details
    Browse the repository at this point in the history