[Numpy-discussion] Numpy.test() hangs

James Philbin philbinj@gmail....
Tue Nov 11 13:41:31 CST 2008

> Can you try checking the functions log1p and exp separately for all three
> floating types? Something like

Well, log1p seems to be the culprit:

>>> import numpy as np
>>> np.log1p(np.ones(1,dtype='f')*3)
... hangs here ...

exp is fine:

>>> import numpy as np
>>> np.exp(np.ones(1,dtype='f')*3)
array([ 20.08553696], dtype=float32)

If it helps:
$ uname -a
Linux lewis 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux


More information about the Numpy-discussion mailing list