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
a = CircularVector(1:10)
a[1] = 5
ERROR: CanonicalIndexError: setindex! not defined for StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}
Stacktrace:
[1] error_if_canonical_setindex(::IndexLinear, A::StepRangeLen{…}, ::Int64)
@ Base ./abstractarray.jl:1403
[2] setindex!
@ ./abstractarray.jl:1394 [inlined]
[3] setindex!(arr::CircularVector{Float64, StepRangeLen{…}}, v::Float64, I::Int64)
@ CircularArrays ~/.julia/packages/CircularArrays/7HczV/src/CircularArrays.jl:61
[4] top-level scope
@ REPL[29]:1
[5] top-level scope
@ ~/.julia/juliaup/julia-1.10.7+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:1428
Some type information was truncated. Use `show(err)` to see complete types.
a[1:5] .= 0
ERROR: CanonicalIndexError: setindex! not defined for StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}
Stacktrace:
[1] error_if_canonical_setindex(::IndexLinear, A::StepRangeLen{…}, ::Int64)
@ Base ./abstractarray.jl:1403
[2] setindex!
@ ./abstractarray.jl:1394 [inlined]
[3] setindex!(arr::CircularVector{Float64, StepRangeLen{…}}, v::Float64, I::Int64)
@ CircularArrays ~/.julia/packages/CircularArrays/7HczV/src/CircularArrays.jl:61
[4] top-level scope
@ REPL[29]:1
[5] top-level scope
@ ~/.julia/juliaup/julia-1.10.7+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:1428
Some type information was truncated. Use `show(err)` to see complete types.
The text was updated successfully, but these errors were encountered:
The following case is not working
The text was updated successfully, but these errors were encountered: