[Numpy-discussion] reshaping empty array bug?
Benjamin Root
ben.v.root at gmail.com
Tue Feb 23 15:50:14 EST 2016
On Tue, Feb 23, 2016 at 3:30 PM, Nathaniel Smith <njs at pobox.com> wrote:
> What should this do?
>
> np.zeros((12, 0)).reshape((10, -1, 2))
>
It should error out, I already covered that. 12 != 20.
Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20160223/d9bb2c6e/attachment.html>
More information about the NumPy-Discussion
mailing list