Something seems to have changed with how it VectorOfArray interact with the Juno display system. If you do:
using RecursiveArrayTools
# This throws the error
x1 = VectorOfArray([rand(10) for i = 1:2])
# This does not
x1;
# This works
x1[1]
You get the following error in Juno:
UndefVarError: Atom not defined
defaultrepr(::VectorOfArray{Float64,2,Array{Array{Float64,1},1}}, ::Bool) at types.jl:79
defaultrepr at types.jl:79 [inlined]
render(::Juno.Inline, ::VectorOfArray{Float64,2,Array{Array{Float64,1},1}}) at init.jl:5
render(::Juno.Inline, ::Juno.Copyable) at view.jl:49
render at display.jl:19 [inlined]
displayandrender(::VectorOfArray{Float64,2,Array{Array{Float64,1},1}}) at showdisplay.jl:127
(::getfield(Atom, Symbol("##119#124")){String})() at eval.jl:102
macro expansion at essentials.jl:742 [inlined]
(::getfield(Atom, Symbol("##115#120")))(::Dict{String,Any}) at eval.jl:86
handlemsg(::Dict{String,Any}, ::Dict{String,Any}) at comm.jl:164
(::getfield(Atom, Symbol("##19#21")){Array{Any,1}})() at task.jl:259
Something seems to have changed with how it
VectorOfArrayinteract with the Juno display system. If you do:You get the following error in Juno: