Skip to content

Conversation

mdhaber
Copy link
Contributor

@mdhaber mdhaber commented Oct 15, 2024

Reference issue

Addresses #21622 (comment)
Closes gh-21709

What does this implement/fix?

#21622 (comment) noted that logsumexp woule lose precision for tiny imaginary components; gh-21709 reported it as a bug. This fixes that.

@mdhaber mdhaber added scipy.special maintenance Items related to regular maintenance tasks labels Oct 15, 2024
@mdhaber mdhaber requested a review from lucascolley October 15, 2024 15:29
@bashtage
Copy link
Contributor

Thanks for the quick PR fix.

@j-bowhay j-bowhay added this to the 1.15.0 milestone Oct 16, 2024
Copy link
Member

@j-bowhay j-bowhay left a comment

Choose a reason for hiding this comment

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

LGTM!

@j-bowhay j-bowhay merged commit 662c990 into scipy:main Oct 16, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.special
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: logsumexp returning incorrect results in Scipy 1.15.0.dev0
3 participants