Re: [Numpy-discussion] Traceback on divide by zero error

2007-12-13 Thread Robert Kern
Tony S Yu wrote: Hello, This is something that's been bothering for awhile. When numpy raises the following divide by zero error: Warning: divide by zero encountered in double_scalars is there a way to get a Traceback on where that warning occurred. In [1]: from numpy import * In [2]:

Re: [Numpy-discussion] Traceback on divide by zero error

2007-12-13 Thread Tony S Yu
On Dec 13, 2007, at 2:21 PM, Robert Kern wrote: Tony S Yu wrote: Hello, This is something that's been bothering for awhile. When numpy raises the following divide by zero error: Warning: divide by zero encountered in double_scalars is there a way to get a Traceback on where that warning