Open
Description
I ran the code from docs homepage:
xs = 1:0.2:5
A = log.(xs)
interp_linear = extrapolate(scale(interpolate(A, BSpline(Linear())), xs)) # errors
itp = interpolate(A, BSpline(Linear())) # errors
As a side note, this made me wonder, because the following example does not fail:
scaled_itp = scale(interpolate(A, BSpline(Linear())), xs)
Although the first argument to scale
is exactly itp
from above which fails. Just for general knowledge, how is it possible that when I evaluate an expression it errors but when this expression is fed into another function it does not?
Thanks
Metadata
Metadata
Assignees
Labels
No labels