Timothy Hochberg wrote:
> On 4/24/07, Duncan Smith <[EMAIL PROTECTED]> wrote:
>
>>
>>
>>
>> Timothy Hochberg wrote:
>
>
>
> [SNIP]
>
>
>>
>> >
>> > You should be getting a warning here. Did one disappear in the cut and
>> > paste? Or are you using a nonstandard shell that eats warnings? Or
On 4/24/07, Duncan Smith <[EMAIL PROTECTED]> wrote:
Timothy Hochberg wrote:
[SNIP]
>
> You should be getting a warning here. Did one disappear in the cut and
> paste? Or are you using a nonstandard shell that eats warnings? Or an
old
> version of numpy?
>
Python 2.5.1 / numpy 1.0.1 / I
Timothy Hochberg wrote:
> On 4/23/07, Duncan Smith <[EMAIL PROTECTED]> wrote:
>
>>
>> Hello,
>> Since moving to numpy I've had a few problems with my existing
>> code. It basically revolves around the numpy scalar types. e.g.
>>
>>
>>
>> >>>
On 4/24/07, Timothy Hochberg <[EMAIL PROTECTED]> wrote
[CHOP]
Sorry, cut and paste error, that should have read:
:
>
> >>> i = a[0,0]
> >>> 1/i
>
> 0
You should be getting a warning here. Did one disappear in the cut and
paste? Or are you using a nonstandard shell that eats warnings? Or an
On 4/23/07, Duncan Smith <[EMAIL PROTECTED]> wrote:
Hello,
Since moving to numpy I've had a few problems with my existing
code. It basically revolves around the numpy scalar types. e.g.
>>> import Numeric as N
>>> a = N.array([[0,1],[2,3]]
Hello,
Since moving to numpy I've had a few problems with my existing
code. It basically revolves around the numpy scalar types. e.g.
>>> import Numeric as N
>>> a = N.array([[0,1],[2,3]])
>>> a
array([[0, 1],
[2, 3]])
>>> i = a[0,0]