-
Notifications
You must be signed in to change notification settings - Fork 112
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
Running examples in docs fails #580
Comments
You're right, It should be
|
Notice that the linked PR only addresses the first of the two errors. |
That line seems to work for me. What error do you encounter? julia> itp = interpolate(A, BSpline(Linear()))
21-element interpolate(::Vector{Float64}, BSpline(Linear())) with element type Float64:
0.0
0.1823215567939546
0.3364722366212129
0.47000362924573563
0.5877866649021191
0.6931471805599453
0.7884573603642703
0.8754687373538999
0.9555114450274363
1.0296194171811581
1.0986122886681098
1.1631508098056809
1.2237754316221157
1.2809338454620642
1.33500106673234
1.3862943611198906
1.4350845252893227
1.4816045409242156
1.5260563034950492
1.5686159179138452
1.6094379124341003 Did you not do |
For me, running
returns
I'm running Interpolations v0.14.7 on Julia 1.10.0. I now see that this is not the newest version of Interpolations, but apparently I can't upgrade due to some compatibility constraint. Also I see now that running
runs just fine, so indeed the problem is only with the displaying |
I ran the code from docs homepage:
As a side note, this made me wonder, because the following example does not fail:
Although the first argument to
scale
is exactlyitp
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
The text was updated successfully, but these errors were encountered: