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
It seems math.factorial float input support is deprecated in Python 3.9 and above. I think the easiest way to handle it is to change all math.factorial to numpy.math.factorial since numpy is required and imported here anyway.
The text was updated successfully, but these errors were encountered:
Hi @ElimThompsonFDA , I tried running the example script on my python environment and https://github.com/DIDSR/QuCAD/blob/main/scripts/tools/calculator.py#L137 threw me a type error.
From, https://docs.python.org/3/library/math.html#math.factorial
It seems math.factorial float input support is deprecated in Python 3.9 and above. I think the easiest way to handle it is to change all math.factorial to numpy.math.factorial since numpy is required and imported here anyway.
The text was updated successfully, but these errors were encountered: