Comments (2)
julia> using Pkg
julia> Pkg.status()
Status `/private/var/folders/5j/phv_vfc97m967ww98fbvtmfr0000gq/T/jl_NVMMuQ/Project.toml`
⌃ [a98d9a8b] Interpolations v0.14.7
Info Packages marked with ⌃ have new versions available and may be upgradable.
julia> itp0 = interpolate([1,2,3,4], BSpline(Linear()))
4-element interpolate(::Vector{Float64}, BSpline(Linear())) with element type Float64:
1.0
2.0
3.0
4.0
I cannot reproduce the problem on v0.14.7.
from interpolations.jl.
Hmm, that's strange. Maybe it's because I'm running on Julia v1.10.0-rc2?
⌅ [a98d9a8b] Interpolations v0.14.7
julia> versioninfo()
Julia Version 1.10.0-rc2
Commit dbb9c46795 (2023-12-03 15:25 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 12 × Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 on 12 virtual cores
julia> using Interpolations
julia> itp0 = interpolate([1, 2, 3, 4], BSpline(Linear()))
4-element interpolate(::Vector{Float64}, BSpline(Linear())) with element type Float64:
Error showing value of type Interpolations.BSplineInterpolation{Float64, 1, Vector{Float64}, BSpline{Linear{Throw{OnGrid}}}, Tuple{Base.OneTo{Int64}}}:
ERROR: BoundsError: attempt to access Tuple{} at index [1]
Stacktrace:
[1] getindex(t::Tuple, i::Int64)
@ Base .\tuple.jl:31
[2] _checklubounds(tf::Bool, ls::Tuple{}, us::Tuple{}, xs::Tuple{Int64})
@ Interpolations C:\Users\hyzho\.julia\packages\Interpolations\nDwIa\src\Interpolations.jl:420
from interpolations.jl.
Related Issues (20)
- Bounds Checking Dramatically Reduces Performance HOT 2
- typos HOT 2
- Is there a way to interpolate over a points cloud using irregular grids? HOT 2
- Documentation hard for me to understand HOT 3
- Cubic spline interpolation HOT 1
- Precompilation warnings HOT 3
- Documentation: what exactly is meant by "irregular grid"? HOT 1
- NaturalNeighbours.jl HOT 1
- `BoundsError` with Julia 1.10.0-beta1 HOT 2
- Interpolating 2D non-uniform Data HOT 1
- Interpolate a set of points HOT 1
- issue to remove
- Free(OnGrid()) boundary conditions produce surprising results HOT 4
- Documentation on GPU support HOT 6
- CITATION.cff not generating options
- RFC: possible rework of element type and inferrability HOT 2
- Running examples in docs fails HOT 4
- Setup jldoctest
- Stable docs is pointing to 0.14.7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interpolations.jl.