-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fused type required for floating point Cython operations #3111
Comments
Agreed, although some cases may need to use double precision internally for accuracy. An example is the change from float32 to float64 when using the fast integral-image representation for non-local means. A good image demonstrating the problem with float32 is here: #2878 (comment) |
@grlee77 for those functions we should be using |
A big 👍 for this! |
Oups, I just realized that this issue is more than one year old!!! 😆 |
I think we still need someone to do a proper review of all changes required; but since this issue is so vague I'm going to close it. |
I started this review yesterday when I noticed the silent cast to |
Since we're now (soon ;) letting through
float32
arrays inimg_as_float
, we need to add a fused dtype to all Cython code that consumes doubles to also accept single precision floats.The text was updated successfully, but these errors were encountered: