Different sizes per se is not the problem, different number of dimensions is. Compare e.g.
julia> a=[hcat([1]), [2 3]]
2-element Array{Array{Int64,2},1}:
[1]
[2 3]
julia> a+a
2-element Array{Array{Int64,2},1}:
[2]
[4 6]
Different sizes per se is not the problem, different number of dimensions is. Compare e.g.
julia> a=[hcat([1]), [2 3]]
2-element Array{Array{Int64,2},1}:
[1]
[2 3]
julia> a+a
2-element Array{Array{Int64,2},1}:
[2]
[4 6]