From 434c4ecbe010c0bacf7f93cdf761ca015eeae3fb Mon Sep 17 00:00:00 2001 From: Joseph Fox-Rabinovitz Date: Wed, 16 Mar 2016 14:10:33 -0400 Subject: BUG: Ongoing fixes to PR#7416 Removed superfluous `ceil` call in automated bin width estimator. Updated tests to reflect modified estimator. --- numpy/lib/tests/test_function_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/tests/test_function_base.py') 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) -- cgit v1.2.1