Skip to content

Commit

Permalink
MAINT: Removed supurious assert in histogram estimators
Browse files Browse the repository at this point in the history
  • Loading branch information
madphysicist committed Feb 5, 2016
1 parent 12ec338 commit 8b81a64
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions numpy/lib/function_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8b81a64

Please sign in to comment.