Skip to content

insure int type for math.factorial#27

Open
ll01 wants to merge 1 commit into
paulknysh:masterfrom
ll01:patch-1
Open

insure int type for math.factorial#27
ll01 wants to merge 1 commit into
paulknysh:masterfrom
ll01:patch-1

Conversation

@ll01

@ll01 ll01 commented Jun 19, 2022

Copy link
Copy Markdown

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

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
@paulknysh

Copy link
Copy Markdown
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants