On Wed, Sep 12, 2012 at 2:46 PM, Matthew Brett wrote:
> Hi,
>
> I just noticed that this works for numpy 1.6.1:
>
> In [36]: np.concatenate(([2, 3], [1]), 1)
> Out[36]: array([2, 3, 1])
>
> but the beta release branch:
>
> In [3]: np.concatenate(([2, 3], [1]), 1)
>
On Wed, Sep 12, 2012 at 4:19 PM, Nathaniel Smith wrote:
> On Wed, Sep 12, 2012 at 2:46 PM, Matthew Brett
> wrote:
>> Hi,
>>
>> I just noticed that this works for numpy 1.6.1:
>>
>> In [36]: np.concatenate(([2, 3], [1]), 1)
>> Out[36]: array([2, 3, 1])
>>
>> but the beta release branch:
>>
>> In
Hi,
On Thu, Sep 13, 2012 at 11:31 AM, Matthew Brett wrote:
> On Wed, Sep 12, 2012 at 4:19 PM, Nathaniel Smith wrote:
>> On Wed, Sep 12, 2012 at 2:46 PM, Matthew Brett
>> wrote:
>>> Hi,
>>>
>>> I just noticed that this works for numpy 1.6.1:
>>>
>>> In [36]: np.concatenate(([2, 3], [1]), 1)
>>>
>>> Yep, that'd be a good idea. Want to write a patch? :-)
>>
>> https://github.com/numpy/numpy/pull/440
>
> Thinking about the other thread, and the 'number of elements' check, I
> noticed this:
>
> In [51]: np.__version__
> Out[51]: '1.6.1'
>
> In [52]: r4 = range(4)
>
> In [53]: r3 = range(
Hi,
On Thu, Sep 13, 2012 at 7:00 PM, Matthew Brett wrote:
> Hi,
>
> On Thu, Sep 13, 2012 at 11:31 AM, Matthew Brett
> wrote:
>> On Wed, Sep 12, 2012 at 4:19 PM, Nathaniel Smith wrote:
>>> On Wed, Sep 12, 2012 at 2:46 PM, Matthew Brett
>>> wrote:
Hi,
I just noticed that this wo
I think there is something wrong with the implementation.. I would
expect each incoming array in PyArray_ConcatenateFlattenedArrays to be
flattened and the sizes of all of them added into a one-dimensional
shape. Now the shape is two-dimensional, which does not make sense to
me. Also the requiremen
Hi,
On Fri, Sep 14, 2012 at 11:25 PM, Han Genuit wrote:
> I think there is something wrong with the implementation.. I would
> expect each incoming array in PyArray_ConcatenateFlattenedArrays to be
> flattened and the sizes of all of them added into a one-dimensional
> shape. Now the shape is two
Okay, sent in a pull request: https://github.com/numpy/numpy/pull/443.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
I was working on the same fix and so I saw your code was similar and merged it.
It needs to be back-ported to 1.7.0
Thanks,
-Travis
On Sep 15, 2012, at 11:06 AM, Han Genuit wrote:
> Okay, sent in a pull request: https://github.com/numpy/numpy/pull/443.
>
Yeah, that merge was fast. :-)
Regards,
Han
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
It's very nice to get your help.I hope I haven't inappropriately set
expectations :-)
-Travis
On Sep 15, 2012, at 3:14 PM, Han Genuit wrote:
> Yeah, that merge was fast. :-)
>
> Regards,
> Han
> ___
> NumPy-Discussion mailing list
> NumPy-Discuss
You're welcome.
I do not have many expectations; only those you can expect from an
open source project. ;-)
On Sat, Sep 15, 2012 at 10:33 PM, Travis Oliphant wrote:
> It's very nice to get your help.I hope I haven't inappropriately set
> expectations :-)
>
> -Travis
>
> On Sep 15, 2012, at
12 matches
Mail list logo