> 2009/7/8 Pierre GM :
>
> On Jul 8, 2009, at 3:18 AM, Scott Sinclair wrote:
>
>>> 2009/7/8 Robert Kern :
>>> 2009/7/4 Stéfan van der Walt :
Thanks, Scott. This should now be fixed in SVN.
>>>
>>> You should probably change that to asanyarray() before the masked
>>> array crowd gets upset. :-
2009/7/8 Robert Kern :
> 2009/7/4 Stéfan van der Walt :
>> Thanks, Scott. This should now be fixed in SVN.
>
> You should probably change that to asanyarray() before the masked
> array crowd gets upset. :-)
Thanks, fixed!
Stéfan
___
Numpy-discussion ma
On Jul 8, 2009, at 3:18 AM, Scott Sinclair wrote:
>> 2009/7/8 Robert Kern :
>> 2009/7/4 Stéfan van der Walt :
>>> Thanks, Scott. This should now be fixed in SVN.
>>
>> You should probably change that to asanyarray() before the masked
>> array crowd gets upset. :-)
>
> I hadn't thought about that
> 2009/7/8 Robert Kern :
> 2009/7/4 Stéfan van der Walt :
>> Thanks, Scott. This should now be fixed in SVN.
>
> You should probably change that to asanyarray() before the masked
> array crowd gets upset. :-)
I hadn't thought about that, but I'm don't think it matters in this
case. MaskedArray.no
2009/7/4 Stéfan van der Walt :
> Thanks, Scott. This should now be fixed in SVN.
You should probably change that to asanyarray() before the masked
array crowd gets upset. :-)
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by ou
Thanks, Scott. This should now be fixed in SVN.
2009/7/3 Scott Sinclair :
> Index: numpy/core/numeric.py
> ===
> --- numpy/core/numeric.py (revision 7095)
> +++ numpy/core/numeric.py (working copy)
> @@ -535,7 +535,7 @@
>
>2009/7/3 Sebastian Haase :
> Hi,
> should this not be accepted:
N.argwhere([4,0,2,1,3])
> ?
> instead I get
>
> Traceback (most recent call last):
> File "", line 1, in
> File "./numpy/core/numeric.py", line 510, in argwhere
> AttributeError: 'list' object has no attribute 'nonzero'
N
Hi,
should this not be accepted:
>>> N.argwhere([4,0,2,1,3])
?
instead I get
Traceback (most recent call last):
File "", line 1, in
File "./numpy/core/numeric.py", line 510, in argwhere
AttributeError: 'list' object has no attribute 'nonzero'
>>> N.argwhere(N.array([4,0,2,1,3]))
[[0]
[2]
[3