On Wed, Mar 30, 2011 at 16:03, Ralf Gommers wrote:
> On Thu, Mar 24, 2011 at 5:25 PM, Ralf Gommers
> wrote:
>> On Thu, Mar 24, 2011 at 5:11 PM, Robert Kern wrote:
>>> We really should change the default to 'warn' for numpy 2.0. Maybe
>>> even for numpy 1.6. We've talked about it before, and I t
On Thu, Mar 24, 2011 at 5:25 PM, Ralf Gommers
wrote:
> On Thu, Mar 24, 2011 at 5:11 PM, Robert Kern wrote:
>> 2011/3/24 Dmitrey :
>> from numpy import inf, array
>> inf*0
>>> nan
>>>
>>> (ok)
>>>
>> array(inf) * 0.0
>>> StdErr: Warning: invalid value encountered in multiply
>>> nan
>>
On Thu, Mar 24, 2011 at 5:11 PM, Robert Kern wrote:
> 2011/3/24 Dmitrey :
> from numpy import inf, array
> inf*0
>> nan
>>
>> (ok)
>>
> array(inf) * 0.0
>> StdErr: Warning: invalid value encountered in multiply
>> nan
>>
>> My cycled calculations yields this thousands times slowing com
2011/3/24 Dmitrey :
from numpy import inf, array
inf*0
> nan
>
> (ok)
>
array(inf) * 0.0
> StdErr: Warning: invalid value encountered in multiply
> nan
>
> My cycled calculations yields this thousands times slowing computations and
> making text output completely non-readable.
>
On Thu, Mar 24, 2011 at 10:52 AM, eat wrote:
> Hi
>
> On Thu, Mar 24, 2011 at 4:17 PM, Skipper Seabold
>> Also, as Robert pointed out to me before np.errstate is a
>> context-manager for ignoring these warnings. I often wrap optimization
>> code with it.
>
> I didn't realize that its context-man
Hi
On Thu, Mar 24, 2011 at 4:17 PM, Skipper Seabold wrote:
> On Thu, Mar 24, 2011 at 9:45 AM, Ralf Gommers
> wrote:
> > 2011/3/24 Dmitrey :
> >>
> >> Hi
> >>
> >> 2011/3/24 Dmitrey
> >>>
> >>> >>> from numpy import inf, array
> >>> >>> inf*0
> >>> nan
> >>>
> >>> (ok)
> >>>
> >>> >>> array(inf)
On Thu, Mar 24, 2011 at 9:45 AM, Ralf Gommers
wrote:
> 2011/3/24 Dmitrey :
>>
>> Hi
>>
>> 2011/3/24 Dmitrey
>>>
>>> >>> from numpy import inf, array
>>> >>> inf*0
>>> nan
>>>
>>> (ok)
>>>
>>> >>> array(inf) * 0.0
>>> StdErr: Warning: invalid value encountered in multiply
>>> nan
>>>
>>> My cycled
2011/3/24 Dmitrey :
>
> Hi
>
> 2011/3/24 Dmitrey
>>
>> >>> from numpy import inf, array
>> >>> inf*0
>> nan
>>
>> (ok)
>>
>> >>> array(inf) * 0.0
>> StdErr: Warning: invalid value encountered in multiply
>> nan
>>
>> My cycled calculations yields this thousands times slowing computations
>> and ma
Hi
2011/3/24 Dmitrey
>>> from numpy import inf, array
>>> inf*0
nan
(ok)
>>> array(inf) * 0.0
StdErr: Warning: invalid value encountered in multiply
nan
My cycled calculations yields this thousands times slowing
computat
Hi
2011/3/24 Dmitrey
> >>> from numpy import inf, array
> >>> inf*0
> nan
>
> (ok)
>
> >>> array(inf) * 0.0
> StdErr: Warning: invalid value encountered in multiply
> nan
>
> My cycled calculations yields this thousands times slowing computations and
> making text output completely non-readable
>>> from numpy import inf, array
>>> inf*0
nan
(ok)
>>> array(inf) * 0.0
StdErr: Warning: invalid value encountered in multiply
nan
My cycled calculations yields this thousands times slowing
computations and making text output completely non-readable.
>>> from numpy
11 matches
Mail list logo