Getting infinities with numpy.exp()
Posted on Sat 24 May 2014 in bugs • Tagged with numpy, python • Leave a comment
So I spent quite a lot of time this week trying to find out why I was getting infinities in one of my codes I'm working on.
In the code I have a big numpy.ndarray
, let's call it a
, which I
then pass into numpy.exp()
and save into …