Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jax.scipy.special.gamma and gammasgn to return NaN for negativ… #24945

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

hawkinsp
Copy link
Collaborator

…e integer inputs.

Change to match upstream scipy: scipy/scipy#21827.

@jakevdp
Copy link
Collaborator

jakevdp commented Nov 18, 2024

Looks good, but also looks like some unrelated changes snuck in?

@hawkinsp
Copy link
Collaborator Author

hawkinsp commented Nov 18, 2024

Looks good, but also looks like some unrelated changes snuck in?

I don't think so? I'm now using packaging.version for a version test.

@jakevdp
Copy link
Collaborator

jakevdp commented Nov 18, 2024

I don't think so? I'm now using packaging.version for a version test.

Is that necessary? In several other places we use the jtu.parse_version utility for that:

scipy_version = jtu.parse_version(scipy.version.version)

@hawkinsp
Copy link
Collaborator Author

I don't think so? I'm now using packaging.version for a version test.

Is that necessary? In several other places we use the jtu.parse_version utility for that:

scipy_version = jtu.parse_version(scipy.version.version)

I think we can/should delete that utility, but ok let's save that for another change.

@copybara-service copybara-service bot merged commit 4a9346e into jax-ml:main Nov 19, 2024
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants