I suppressed the display and problem solved! Thanks!
On Tuesday, September 29, 2015 at 1:15:26 AM UTC-5, Michael Hatherly wrote: > > This is probably https://github.com/JunoLab/atom-julia-client/issues/44 — > just a display issue with arrays containing #undef. Not sure when someone > will have a chance to fix it. Until someone does you'll need to avoid > trying to display results containing undefined references. If you’d like to > try fix it then a good place to start looking is the > https://github.com/JunoLab/Atom.jl/tree/master/src/display folder. > > > — Mike > On Tuesday, 29 September 2015 06:17:11 UTC+2, Dongning Guo wrote: >> >> I'd like to create an array of a certain type. The basic code looks as >> follows: >> >> Type T >> x::Float64 >> y::Float64 >> end >> b = Array{T}(3) >> >> Basically I wish b[1], b[2], b[3] to be of the same type T. >> >> I'm using Julia within the Atom editor. The last line of code causes >> Julia to hang and produces the following error "Julia Client – Internal >> Error >> UndefRefError: access to undefined reference >> in yieldto at >> /Applications/Julia-0.4.0-rc2.app/Contents/Resources/julia/lib/julia/sys.dylib >> in wait at >> /Applications/Julia-0.4.0-rc2.app/Contents/Resources/julia/lib/julia/sys.dylib >> >> (repeats 3 times) >> [inlined code] from /Users/me/.julia/v0.4/Lazy/src/dynamic.jl:69 >> in anonymous at /Users/me/.julia/v0.4/Atom/src/eval.jl:44 >> [inlined code] from /Users/me/.julia/v0.4/Atom/src/comm.jl:23 >> in anonymous at task.jl:63 >> >> >> The same code works just fine under command line Julia (0.4.0-rc2). >> >> Any help will be appreciated, including how to have a clean slate >> reinstallation (either Juno or Atom) that just works. >> >> I'm relatively new to Julia. I was using Julia under Juno until Juno >> broke down with no fix after I tried. Reinstallation didn't help (several >> other people had similar problems, see >> https://groups.google.com/d/topic/julia-users/ntOb9HNm0ac/discussion). >> I then switched to Atom and still has problems. >> >>
