[Numpy-discussion] bincount([], minlength=2) should work right?

Skipper Seabold jsseabold at gmail.com
Sat Feb 25 17:16:06 EST 2012


On Sat, Feb 25, 2012 at 5:13 PM, Alan G Isaac <alan.isaac at gmail.com> wrote:
> On 2/25/2012 4:44 PM, James Bergstra wrote:
>> bincount([]) makes no sense,
>
> I disagree:
> http://permalink.gmane.org/gmane.comp.python.numeric.general/42041
>
>
>> but if a minlength argument is provided,
>> then the routine should succeed.
>
> Definitely!
>

There's a PR to fix this here.

https://github.com/numpy/numpy/pull/84

Skipper



More information about the NumPy-Discussion mailing list