Skip to content

BUG: spherical_in for n=0 and z=0#20527

Merged
steppi merged 1 commit intoscipy:mainfrom
PicoCentauri:fix-sph_bessel-jac
Apr 19, 2024
Merged

BUG: spherical_in for n=0 and z=0#20527
steppi merged 1 commit intoscipy:mainfrom
PicoCentauri:fix-sph_bessel-jac

Conversation

@PicoCentauri
Copy link
Copy Markdown
Contributor

Reference issue

Closes #20506

What does this implement/fix?

Changes behavior of spherical_in for n=0 and z=0 to return 1/3 instead of 0.

@github-actions github-actions bot added scipy.special C/C++ Items related to the internal C/C++ code base defect A clear bug or issue that prevents SciPy from being installed or used as expected labels Apr 19, 2024
Copy link
Copy Markdown
Contributor

@steppi steppi left a comment

Choose a reason for hiding this comment

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

This looks good. Thanks @PicoCentauri! The failure is unrelated.

@steppi steppi merged commit e8be98e into scipy:main Apr 19, 2024
@tylerjereddy tylerjereddy added this to the 1.14.0 milestone Apr 19, 2024
@tylerjereddy tylerjereddy added the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Apr 19, 2024
@PicoCentauri PicoCentauri deleted the fix-sph_bessel-jac branch April 22, 2024 06:49
@tylerjereddy tylerjereddy modified the milestones: 1.14.0, 1.13.1 May 2, 2024
tylerjereddy pushed a commit to tylerjereddy/scipy that referenced this pull request May 2, 2024
tylerjereddy added a commit to tylerjereddy/scipy that referenced this pull request May 2, 2024
* Apply "old version" of the patch provided
at scipygh-20527
@tylerjereddy tylerjereddy mentioned this pull request May 2, 2024
10 tasks
@tylerjereddy tylerjereddy removed the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C/C++ Items related to the internal C/C++ code base defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.special

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: special.spherical_in: derivative at z=0, n=1 incorrect

3 participants