|
From: Paul H. <pmh...@gm...> - 2015-03-19 17:17:31
|
What happens when you edit your program to avoid dividing by zero? -p — Sent from Mailbox On Thu, Mar 19, 2015 at 10:14 AM, Gabriele Brambilla <gb....@gm...> wrote: > Hi guys, > I don't understand why now, after I save an image when it is prompted out, > the image is not saved and it closes automatically and on the terminal > appears segmentation fault. > this is what my terminal shows: > [gs66-stumbras:~/Desktop] gbrambil% python Bdipole.py > Bdipole.py:52: RuntimeWarning: divide by zero encountered in divide > lwb = 5/(np.log10(modB.max()/modB)) > Bdipole.py:55: RuntimeWarning: divide by zero encountered in divide > lwe = 5/(np.log10(modE.max()/modE)) > Segmentation fault > Thanks > Gabriele |