Skip to content
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

Fix NumPy2 dtype promotion issues in pywt dependent code #7414

Merged
merged 5 commits into from
May 8, 2024

Conversation

lagru
Copy link
Member

@lagru lagru commented May 7, 2024

Description

See failures described in #7282 (comment).

Additionally, turn the error raised by pyamg lacking support for NumPy 2 (see pyamg/pyamg#406) into a warning for now.

Checklist

Release note

For maintainers and optionally contributors, please refer to the instructions on how to document this PR for the release notes.

...

@lagru lagru added the 🔧 type: Maintenance Refactoring and maintenance of internals label May 7, 2024
Comment on lines +791 to +793
out = pywt.waverecn(denoised_coeffs, wavelet)[original_extent]
out = out.astype(image.dtype)
return out
Copy link
Member

Choose a reason for hiding this comment

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

❤️

@hmaarrfk hmaarrfk merged commit cd20256 into scikit-image:main May 8, 2024
22 checks passed
@stefanv stefanv added this to the 0.24 milestone May 8, 2024
@lagru lagru deleted the pywt-numpy2 branch May 8, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔧 type: Maintenance Refactoring and maintenance of internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants