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:

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