Skip to content

Add default out kwarg to suppress user warning about uninitialized masked elements - #306

Open
DocOtak wants to merge 1 commit into
TEOS-10:mainfrom
DocOtak:ma_out
Open

DocOtak wants to merge 1 commit into
TEOS-10:mainfrom
DocOtak:ma_out

Conversation

@DocOtak

@DocOtak DocOtak commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

This is a fix for #304 that adds a default out to the ufunc call when a masked array is encountered.

This will result in the masked elements having uninitialized data.

I would note that the example p_from_z and z_from_p methods used in the bug report, do not pass any extra kwargs to the underlying ufunc, so wouldn't not allow the passing in of a user defined out argument.

This branch has not been deployed

No deployments
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.

1 participant