Hi, small question, while I was doing some Linear Algebra I found the following (strange?) behavior. Consider:
A = Array(Int64,17)
A[9:16]=[2,4,5,7,1,2,3,6]
p=9
L = Array(Number, 5)
for i in 1:4
L[i]=A[p +i -1]
end
As that Julia complains and throws a MethodError: `typed_hcat` has no
method matching typed_hcat(::Array{Int64,1}, ::Int64, ::Int64)
So I decided to investigate further and things like
3 + 1 -1
Get parsed correctly, but the above isn't. Anyone could clarify the
problem, thanks.
