Strange error raised by scipy.special.erf
22 Jan
2012
22 Jan
'12
10:28 a.m.
With N.seterr(all='raise'):
from scipy import special import scipy special.erf(26.6) 1.0 scipy.__version__ '0.11.0.dev-81dc505' import numpy as N N.seterr(all='raise') {'over': 'warn', 'divide': 'warn', 'invalid': 'warn', 'under': 'ignore'} special.erf(26.5) 1.0 special.erf(26.6) Traceback (most recent call last): File "
", line 1, in <module> special.erf(26.6) FloatingPointError: underflow encountered in erf special.erf(26.7) 1.0
What is so special in 26.6? I have this error also with previous versions of scipy Nadav.
4448
Age (days ago)
4450
Last active (days ago)
2 comments
2 participants
participants (2)
-
Nadav Horesh
-
Pierre Haessig