[SciPy-dev] problems with concatenate - isn't it a bug? (numpy 1.0.1)
Mike Kost
mike@tashcorp....
Mon Jun 11 09:26:51 CDT 2007
D,
The intended form is:
concatenate((array([1]), array([2,3])))
Whether that's right or not is up for debate.
Mike
On 6/11/07, dmitrey <openopt@ukr.net> wrote:
>
> //numpy 1.0.1
>
> from numpy import *
> concatenate((array([1,2]), array([3,4])))
>
> ->array([ 1, 2, 3, 4])
>
> but
>
> concatenate((array(1), array([2,3])))
> Traceback (innermost last):
> File "<stdin>", line 1, in <module>
> ValueError: 0-d arrays can't be concatenated
>
> D.
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20070611/f17a582f/attachment.html
More information about the Scipy-dev
mailing list