-
Notifications
You must be signed in to change notification settings - Fork 55
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
Allow for lossy type promotion #597
Comments
@ClaudiaComito attached a message from @Markus-Goetz Since we are doing probabilistic/heuristic stuff often anyway, I would be fine with natural expectation over safe casting |
Daniel has implemented something like this already. We called it "intuitive" casting. The table is already in the master. If you can find more example of where we should relax the casting, based on the table, we can implement this fairly quickly |
give me a second and i will push a branch to the master. im just updating the docstring |
Closed by #598 |
we are currently doing safe casting, i.e. precision preserving, meaning
promote_type(int32, float32) -> float64
asfloat32
might be lossy in the conversionIssue created from a Mattermost message by @Markus-Goetz.
The text was updated successfully, but these errors were encountered: