31/08/09 @ 14:37 (-0400), thus spake Pierre GM:
> On Aug 31, 2009, at 2:33 PM, Ernest Adrogué wrote:
>
> > 30/08/09 @ 13:19 (-0400), thus spake Pierre GM:
> >> I can't reproduce that with a recent SVN version (r7348). What
> >> version
> >> of numpy are you using ?
> >
> > Version 1.2.1
>
> Tha
On Aug 31, 2009, at 2:33 PM, Ernest Adrogué wrote:
> 30/08/09 @ 13:19 (-0400), thus spake Pierre GM:
>> I can't reproduce that with a recent SVN version (r7348). What
>> version
>> of numpy are you using ?
>
> Version 1.2.1
That must be that. Can you try w/ 1.3 ?
__
30/08/09 @ 13:19 (-0400), thus spake Pierre GM:
> I can't reproduce that with a recent SVN version (r7348). What version
> of numpy are you using ?
Version 1.2.1
--
Ernest
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy
Oops, overlooked this one ...
On Aug 22, 2009, at 7:58 AM, Ernest Adrogué wrote:
> Hi there,
>
> Here is a structured array with 3 fields each of which has 3 fields
> in turn:
>
> However if try the same with a masked array, it fails:
>
> In [14]: x = np.ma.masked_all(2, dtype=desc)
>
> In [15]:
Hi there,
Here is a structured array with 3 fields each of which has 3 fields
in turn:
In [3]: desc = [('a',int), ('b',int), ('c',int)]
In [4]: desc = [('x',desc), ('y',desc), ('z',desc)]
With a regular ndarray it works just fine:
In [11]: x = np.zeros(2, dtype=desc)
In [12]: x['x']['b'] = 2