Skip to content

Remove deprecated assignment to .shape - #641

Open
mgeier wants to merge 3 commits into
spatialaudio:masterfrom
mgeier:shape-deprecation
Open

Remove deprecated assignment to .shape#641
mgeier wants to merge 3 commits into
spatialaudio:masterfrom
mgeier:shape-deprecation

Conversation

@mgeier

@mgeier mgeier commented Aug 22, 2026

Copy link
Copy Markdown
Member

Fixes #638.

I intentionally didn't use np.reshape(), even though it was suggested in the NumPy warning message. The function call is much slower than the eponymous method call, but both of them change the returned array's .base attribute, which then points to a temporary array. I would like it to, as it has done before, point directly to the CFFI backend buffer.

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.

NumPy DeprecationWarning

1 participant