I am confused what you intend this to do, I think this might be the issue. Arrays · The Julia Language, the second argument to size is the dimension of which you want the length, so I think iiuc you want to do size(x,2) inlace of size(x, 10)
I am confused what you intend this to do, I think this might be the issue. Arrays · The Julia Language, the second argument to size is the dimension of which you want the length, so I think iiuc you want to do size(x,2) inlace of size(x, 10)