Skip to content

BUG: sparse.linalg: ensure expm casts integer inputs to float #8984

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

Merged
merged 1 commit into from
Jul 2, 2018

Conversation

pv
Copy link
Member

@pv pv commented Jun 29, 2018

Cast non-float inputs to float in expm, to avoid overflows etc.

Fixes gh-8981

Avoids integer overflows in the algorithm.
@pv pv added the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Jun 29, 2018
@WarrenWeckesser WarrenWeckesser added this to the 1.2.0 milestone Jul 2, 2018
@WarrenWeckesser WarrenWeckesser merged commit f179b25 into scipy:master Jul 2, 2018
@WarrenWeckesser
Copy link
Member

Thanks Pauli.

@tylerjereddy tylerjereddy removed the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants