Skip to content

ENH: add NaN guardrails for hyp0f1 - #204

Merged
dschmitz89 merged 1 commit into
scipy:mainfrom
fbourgey:nan_hyp0f1
Jun 22, 2026
Merged

ENH: add NaN guardrails for hyp0f1#204
dschmitz89 merged 1 commit into
scipy:mainfrom
fbourgey:nan_hyp0f1

Conversation

@fbourgey

Copy link
Copy Markdown
Member

Reference issue

What does this implement/fix?

Add NaN guardrails for hyp0f1 after scipy/scipy#25467 is failing

Additional information

AI Generation Disclosure

No AI

@github-actions github-actions Bot added the Enhancement New feature or request label Jun 22, 2026
@fbourgey
fbourgey requested a review from dschmitz89 June 22, 2026 14:22
@dschmitz89
dschmitz89 merged commit 026253a into scipy:main Jun 22, 2026
9 checks passed
@github-actions github-actions Bot added the needs-release-note-decision A maintainer should decide if this PR requires a release note. label Jun 22, 2026
@fbourgey

Copy link
Copy Markdown
Member Author

Thanks Daniel.

@fbourgey
fbourgey deleted the nan_hyp0f1 branch June 22, 2026 18:46
@dschmitz89

Copy link
Copy Markdown
Contributor

@fbourgey : I think it makes sense to have a generic solution for this that works for all functions to avoid repetition. What do you think about a small helper function that simply returns Nan if any input Parameter is Nan?

@fbourgey

Copy link
Copy Markdown
Member Author

@fbourgey : I think it makes sense to have a generic solution for this that works for all functions to avoid repetition. What do you think about a small helper function that simply returns Nan if any input Parameter is Nan?

Sounds like a good idea.

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

Labels

Enhancement New feature or request needs-release-note-decision A maintainer should decide if this PR requires a release note.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants