You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SciPy's factorial2 behavior changed in this commit scipy/scipy@5e91097
(It seems like factorial2(x<1) should have always returned zero, but it used to only do that if exact=True)
When factorial2 is called here with 0 then the factorial array now gets 0 instead of 1.
This causes the following issue with scipy 1.11.4
/usr/local/lib/python3.11/site-packages/iodata/overlap.py:277: RuntimeWarning: divide by zero encountered in scalar divide
return np.sqrt((4.0 * alpha) ** sum(n) * (2.0 * alpha / np.pi) ** 1.5
The text was updated successfully, but these errors were encountered:
SciPy's
factorial2
behavior changed in this commit scipy/scipy@5e91097(It seems like factorial2(x<1) should have always returned zero, but it used to only do that if
exact=True
)When factorial2 is called here with 0 then the factorial array now gets
0
instead of1
.This causes the following issue with scipy 1.11.4
The text was updated successfully, but these errors were encountered: