This repository was archived by the owner on Jul 19, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 72
This repository was archived by the owner on Jul 19, 2023. It is now read-only.
Robin b.c. example error #396
Copy link
Copy link
Closed
Description
At Robin b.c.
The code example generates the error
ERROR: LoadError: BoundsError: attempt to access 19-element StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}} at index [1:39]
Stacktrace:
[1] throw_boundserror(A::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, I::Tuple{UnitRange{Int64}})
@ Base ./abstractarray.jl:651
[2] checkbounds
@ ./abstractarray.jl:616 [inlined]
[3] getindex(r::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, s::UnitRange{Int64})
@ Base ./twiceprecision.jl:466
[4] gr_draw_segments(series::Plots.Series, x::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}}, y::Vector{Float64}, fillrange::Nothing, clims::Tuple{Float64, Float64})
@ Plots ~/.julia/packages/Plots/vVVub/src/backends/gr.jl:1722
[5] gr_add_series(sp::Plots.Subplot{Plots.GRBackend}, series::Plots.Series)
@ Plots ~/.julia/packages/Plots/vVVub/src/backends/gr.jl:1637
[6] gr_display(sp::Plots.Subplot{Plots.GRBackend}, w::Measures.AbsoluteLength, h::Measures.AbsoluteLength, viewport_canvas::Vector{Float64})
@ Plots ~/.julia/packages/Plots/vVVub/src/backends/gr.jl:955
[7] gr_display(plt::Plots.Plot{Plots.GRBackend}, fmt::String)
@ Plots ~/.julia/packages/Plots/vVVub/src/backends/gr.jl:646
[8] _show(io::IOBuffer, #unused#::MIME{Symbol("image/svg+xml")}, plt::Plots.Plot{Plots.GRBackend})
@ Plots ~/.julia/packages/Plots/vVVub/src/backends/gr.jl:1893
[9] display(d::VSCodeServer.InlineDisplay, m::MIME{Symbol("image/svg+xml")}, x::Plots.Plot{Plots.GRBackend})
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.1.40/scripts/packages/VSCodeServer/src/display.jl:0
[10] display(d::VSCodeServer.InlineDisplay, mime::String, x::Any)
@ Base.Multimedia ./multimedia.jl:216
[11] display(d::VSCodeServer.InlineDisplay, x::Plots.Plot{Plots.GRBackend})
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.1.40/scripts/packages/VSCodeServer/src/display.jl:108
[12] display(x::Any)
@ Base.Multimedia ./multimedia.jl:328
[13] top-level scope
@ ~/.julia/dev/PHSI365Solutions/projects/ThermalStorage/estore_sol.jl:150
in expression starting at /Users/abradley/.julia/dev/PHSI365Solutions/projects/ThermalStorage/estore_sol.jl:150Metadata
Metadata
Assignees
Labels
No labels