|
From: Jens J. M. <je...@fy...> - 2006-01-24 12:44:30
|
I just discovered (the hard way) that:
>>> import numpy
>>> a =3D numpy.empty((2, 3))
>>> a[:] =3D [1, 2]
>>> a
array([[1, 2, 1],
[2, 1, 2]])
This is with revision 1984. With Numeric I get "ValueError: matrices=20
are not aligned for copy", which I think is the correct answer.
Jens J=F8rgen
|