Skip to content

fix sign of sph_bessel_k and sph_bessel_k_jac on arm - #246

Merged
lucascolley merged 3 commits into
scipy:mainfrom
j-bowhay:gh-237
Aug 15, 2026
Merged

fix sign of sph_bessel_k and sph_bessel_k_jac on arm#246
lucascolley merged 3 commits into
scipy:mainfrom
j-bowhay:gh-237

Conversation

@j-bowhay

@j-bowhay j-bowhay commented Aug 6, 2026

Copy link
Copy Markdown
Member

Reference issue

closes #237

What does this implement/fix?

Hopefully fixes arm result by use real implementation when z has zero imaginary part

Additional information

AI Generation Disclosure

no ai

@j-bowhay

j-bowhay commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

I can't tell why CI isn't running??

@j-bowhay j-bowhay closed this Aug 6, 2026
@j-bowhay j-bowhay reopened this Aug 6, 2026
@lucascolley

Copy link
Copy Markdown
Member

GHA is having a bit of a moment I'm afraid

@j-bowhay j-bowhay closed this Aug 7, 2026
@j-bowhay j-bowhay reopened this Aug 7, 2026
@j-bowhay

j-bowhay commented Aug 7, 2026

Copy link
Copy Markdown
Member Author

Hmm seems I have not actually fixed the issue

@j-bowhay
j-bowhay marked this pull request as draft August 7, 2026 07:01
@j-bowhay
j-bowhay marked this pull request as ready for review August 13, 2026 17:47
@j-bowhay

Copy link
Copy Markdown
Member Author

@lucascolley turns out I was just being stupid, this is ready to go

@lucascolley
lucascolley self-requested a review August 13, 2026 18:29

@lucascolley lucascolley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, thanks Jake!

@lucascolley
lucascolley merged commit f230b63 into scipy:main Aug 15, 2026
9 checks passed
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.

sph_bessel_k and sph_bessel_k_jac sometimes return the wrong sign on arm for complex inputs

2 participants