I want to include an assignment of a multidimensional array (an array of arrays) to a variable in a script and run that script from the terminal.
I try the assignment in REPL, which works flawlessly. Assigning the first element:
But when I put exactly the same syntax, namely
in a .jl scrip and run it from the terminal i get
~/Julia/Julia_projects/Kalman $ julia test_vectors_2.jl
WARNING: [a] concatenation is deprecated; use collect(a) instead
in depwarn at deprecated.jl:73
in oldstyle_vcat_warning at ./abstractarray.jl:29
in vect at abstractarray.jl:32
in include at ./boot.jl:261
in include_from_node1 at ./loading.jl:333
in process_options at ./client.jl:280
in _start at ./client.jl:378
while loading /home/philip/Julia/Julia_projects/Kalman/test_vectors_2.jl, in expression starting on line 1
What is wrong?