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

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

[Numpy-discussion] Traceback on divide by zero error

2007-12-13 Thread Tony S Yu
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. Thanks, Tony