-
Notifications
You must be signed in to change notification settings - Fork 113
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
Mismatch between returned value type and eltype
for Float16
data
#308
Comments
After we decided to have a functional interface rather than an array one (see e.g. #198, #206, #242), I'm not sure it makes sense to expect If #242 results in actually dropping In other words, I'm not sure this should be changed at all, and if it should, the question of how is probably still not settled. |
I see, I was mistaken in believing that
is true for all the basic floating point types |
Until #242 happens, Since |
When interpolating
Float16
data, the interpolator reports its element type asFloat64
even if it correctly returnsFloat16
data when called.It looks to be due to the
tweight
function defaulting toFloat64
and I can apparently solve the problem by specializingtweight
forFloat16
or changing its default value to be the same type as the input array. Since I am not very familiar with the codebase I am not sure if that's all it should be done.The text was updated successfully, but these errors were encountered: