Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-03 Thread Eric Firing
On 06/02/2010 03:24 PM, Charles R Harris wrote: > > > On Wed, Jun 2, 2010 at 7:11 PM, Eric Firing > wrote: > > http://www.mail-archive.com/numpy-discussion@scipy.org/msg23912.html > > On some systems--but evidently not for most numpy users, or there would > h

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread David
On 06/03/2010 01:02 PM, Eric Firing wrote: > > In any case, in MPL_isnan.h, isfinite is fast, because it involves only > a single bitwise-and plus comparison; isnan and isinf are slower, > because they involve about twice as much work. Concerning speed, the problem is that it depends a lot on the

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread Eric Firing
On 06/02/2010 05:00 PM, David wrote: > On 06/03/2010 10:11 AM, Eric Firing wrote: >> http://www.mail-archive.com/numpy-discussion@scipy.org/msg23912.html >> >> On some systems--but evidently not for most numpy users, or there would >> have been a steady stream of screams--the appearance of np.inf i

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread Charles R Harris
On Wed, Jun 2, 2010 at 9:00 PM, David wrote: > On 06/03/2010 10:11 AM, Eric Firing wrote: > > http://www.mail-archive.com/numpy-discussion@scipy.org/msg23912.html > > > > On some systems--but evidently not for most numpy users, or there would > > have been a steady stream of screams--the appearan

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread Charles R Harris
On Wed, Jun 2, 2010 at 7:11 PM, Eric Firing wrote: > http://www.mail-archive.com/numpy-discussion@scipy.org/msg23912.html > > On some systems--but evidently not for most numpy users, or there would > have been a steady stream of screams--the appearance of np.inf in any > call to np.isfinite or np

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread David
On 06/03/2010 10:11 AM, Eric Firing wrote: > http://www.mail-archive.com/numpy-discussion@scipy.org/msg23912.html > > On some systems--but evidently not for most numpy users, or there would > have been a steady stream of screams--the appearance of np.inf in any > call to np.isfinite or np.isinf yie

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread Charles R Harris
On Wed, Jun 2, 2010 at 7:11 PM, Eric Firing wrote: > http://www.mail-archive.com/numpy-discussion@scipy.org/msg23912.html > > On some systems--but evidently not for most numpy users, or there would > have been a steady stream of screams--the appearance of np.inf in any > call to np.isfinite or np

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread Charles R Harris
On Wed, Jun 2, 2010 at 7:11 PM, Eric Firing wrote: > http://www.mail-archive.com/numpy-discussion@scipy.org/msg23912.html > > On some systems--but evidently not for most numpy users, or there would > have been a steady stream of screams--the appearance of np.inf in any > call to np.isfinite or np

[Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread Eric Firing
http://www.mail-archive.com/numpy-discussion@scipy.org/msg23912.html On some systems--but evidently not for most numpy users, or there would have been a steady stream of screams--the appearance of np.inf in any call to np.isfinite or np.isinf yields this: In [1]:import numpy as np In [2]:np.is