summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index a49d02a1a..088c4c2cd 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -85,9 +85,6 @@ def _hist_optim_numbins_estimator(a, estimator):
will choose the appropriate estimator and return it's estimate for the optimal
number of bins.
"""
- assert isinstance(estimator, basestring)
- # private function should not be called otherwise
-
if a.size == 0:
return 1