diff options
author | Joseph Fox-Rabinovitz <joseph.r.fox-rabinovitz@nasa.gov> | 2016-03-16 14:10:33 -0400 |
---|---|---|
committer | Joseph Fox-Rabinovitz <joseph.r.fox-rabinovitz@nasa.gov> | 2016-03-16 14:40:44 -0400 |
commit | 434c4ecbe010c0bacf7f93cdf761ca015eeae3fb (patch) | |
tree | d934c1843662ee7d1c8b2c22f6fe5af1032c7997 /numpy/lib/tests/test_function_base.py | |
parent | 858b5b201f82be0aa98210dc363f049939a15e31 (diff) | |
download | numpy-434c4ecbe010c0bacf7f93cdf761ca015eeae3fb.tar.gz |
BUG: Ongoing fixes to PR#7416
Removed superfluous `ceil` call in automated bin width estimator.
Updated tests to reflect modified estimator.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index 20c786ad1..63ebb6d0c 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -1512,7 +1512,7 @@ class TestHistogramOptimBinNums(TestCase): # some basic sanity checking, with some fixed data. Checking for the correct number of bins basic_test = {50: {'fd': 8, 'scott': 8, 'rice': 15, 'sturges': 14, 'auto': 14}, 500: {'fd': 15, 'scott': 16, 'rice': 32, 'sturges': 20, 'auto': 20}, - 5000: {'fd': 33, 'scott': 33, 'rice': 69, 'sturges': 28, 'auto': 33}} + 5000: {'fd': 33, 'scott': 33, 'rice': 69, 'sturges': 27, 'auto': 33}} for testlen, expectedResults in basic_test.items(): # create some sort of non uniform data to test with (3 peak uniform mixture) |