Skip to content

BUG: accept read-only arrays in downcoef and upcoef - #898

Open
Don-Yin wants to merge 1 commit into
PyWavelets:mainfrom
Don-Yin:readonly-downcoef-upcoef
Open

Don-Yin wants to merge 1 commit into
PyWavelets:mainfrom
Don-Yin:readonly-downcoef-upcoef

Conversation

@Don-Yin

@Don-Yin Don-Yin commented Nov 18, 2026

Copy link
Copy Markdown

I reproduced the read-only buffer error in downcoef and upcoef using the bundled sea-surface-temperature series. I made the Cython input views const, so both routines accepted read-only arrays without copying them, and added a regression test. Fixes #897.

Read-only sea-surface-temperature input

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.

downcoef / upcoef reject read-only input arrays (buffer source array is read-only)

1 participant