On Tue, 2013-10-01 at 12:00 +0200, Jens Jørgen Mortensen wrote: > Den 30-09-2013 17:17, Charles R Harris skrev: > > > Hi All, > > > > > > NumPy 1.8.0rc1 is up now on sourceforge .The binary builds are > > included except for Python 3.3 on windows, which will arrive later. > > Many thanks to Ralf for the binaries, and to those who found and > > fixed the bugs in the last beta. Any remaining bugs are all my > > fault ;) I hope this will be the last release before final, so > > please test it thoroughly. > > > > I seems that solve() doesn't like arrays like zeros((3, 0)). I get > this with 1.8.0rc1 on Ubuntu 13.04 and Python 2.7.4: > Hey,
can you create an issue on github so I don't forget it? This needs another special case to handle with the new gufunc based code. (Added checks there recently to fix these, but the `K=0` one is missing). - Sebastian > Python 2.7.4 (default, Apr 19 2013, 18:32:33) > [GCC 4.7.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import numpy as np > >>> np > <module 'numpy' from > '/home/jensj/numpy-1.8.0rc1/lib/python/numpy/__init__.pyc'> > >>> np.linalg.solve(np.eye(3), np.zeros((3, 0))) > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/home/jensj/numpy-1.8.0rc1/lib/python/numpy/linalg/linalg.py", > line 380, in solve > r = gufunc(a, b, signature=signature, extobj=extobj) > ValueError: cannot remove a zero-sized axis from an iterator > > with 1.7.1 it works OK: > > >>> np > <module 'numpy' from > '/usr/lib/python2.7/dist-packages/numpy/__init__.pyc'> > >>> np.linalg.solve(np.eye(3), np.zeros((3, 0))) > array([], shape=(3, 0), dtype=float64) > > Jens Jørgen > > > Chuck > > > > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
