Skip to content

complex type promotion #18174

Answered by jakevdp
inversecrime asked this question in Q&A
Oct 18, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

This currently raises a warning I believe. We have a TODO to make this into an error.

If you want to cast x into a new dtype, I don't think we'll ever do that implicitly. Your best option is probably to do it explicitly as in your last line.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@inversecrime
Comment options

@jakevdp
Comment options

@inversecrime
Comment options

@jakevdp
Comment options

Answer selected by inversecrime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants