You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you have mentioned in this commit, the eltype of the interpolate object
itp =interpolate(a, BSpline(Linear()))
is Float32. Then we want to calculate the value of
julia>typeof(itp(1.1, 1.1))
Float64
Then, interestingly
julia>typeof(itp(1.1f0, 1.1f0))
Float32
I think this is an issue with handling the datatypes. I suggest that the interpolation output type should be the input data a we feed the function with, NOT the input type of the itp.
The text was updated successfully, but these errors were encountered:
Suppose you have an array of
As you have mentioned in this commit, the
eltype
of the interpolate objectis
Float32
. Then we want to calculate the value ofThen, interestingly
I think this is an issue with handling the datatypes. I suggest that the interpolation output type should be the input data
a
we feed the function with, NOT the input type of theitp
.The text was updated successfully, but these errors were encountered: