gomar/Antares — Issue #58: Handling error of numpy
Author: gomar
Created: 2011-11-08 16:56:48+00:00
State: open
Labels: global improvement

when dividing by zero, numpy print a warning like: *RuntimeWarning: divide by zero encountered in divide*

This can be deleted are handled properly by setting: olderr = np.seterr(all='ignore')

see [this link](http://docs.scipy.org/doc/numpy/reference/generated/numpy.errstate.html) for more on that topic