Try replacing your definition of Q
with Q = rand(79,18)
and WH
with WH = rand(5,18)
. Do you still get the same error?
Also, are you sure the error you’re getting isn’t something like ERROR: LoadError: BoundsError: attempt to access 8-element Array{Int64,1} at index [1, 5]
? Note the [1, 5]
at the end and not the [1.5]
as you wrote in a previous post.