SciML / LabelledArrays.jl

Arrays which also have a label for each element for easy scientific machine learning (SciML)
https://docs.sciml.ai/LabelledArrays/stable/
Other
120 stars 21 forks source link

concatenation of labelled arrays not working #95

Closed fkrauer closed 3 years ago

fkrauer commented 3 years ago

Hi

Why does the concatenation of two labelled arrays not work like the concatenation of normal (unlabelled) arrays? Thanks

foo = @LArray [1,2,3] (:a,:b,:c)
moo = @LArray [4,5,6] (:d,:e,:f)

julia> println(vcat(foo, moo))
6-element LArray{Int64,1,Array{Int64,1},(:a, :b, :c)}:
 :a => 1
 :b => 2
 :c => 3
  #undef
  #undef
  #undef
ChrisRackauckas commented 3 years ago

That would be a good idea.

fkrauer commented 3 years ago

I was wondering if there is an update to this issue? Thanks a lot.

ChrisRackauckas commented 3 years ago

Fixed.

fkrauer commented 3 years ago

thanks!