blackbox icon indicating copy to clipboard operation
blackbox copied to clipboard

insure int type for math.factorial

Open ll01 opened this issue 2 years ago • 1 comments

https://bugs.python.org/issue37315 Accepting floats for math.factorial was removed. since d is either even or manipulated to be even, it should be safe to convert to an integer. https://stackoverflow.com/questions/21753841/factorial-in-numpy-and-scipy math.factorial and np.math.factorial is the same thing

ll01 avatar Jun 19 '22 17:06 ll01

Hi, sorry, I somehow missed this PR earlier. I also just did major code refactoring - feel free to re-open this to be in sync with updated master brach.

paulknysh avatar Sep 05 '22 20:09 paulknysh