Hi there.
Consider an Array of integers and a vector
a = [1 3 5 6 ; 4 7 9 2 ; 3 5 7 4];
T = rand(10);
and the operations
r1 = T[a[1,:]]
r2 = @inbounds T[a[1,:]]
Observe that r1 would return T in positions 1, 3, 5 and 6, as expected, but r2 is Void. Is this the intended behaviour ?
I am using Julia V0.6,
Julia Version 0.6.0
Commit 903644385b* (2017-06-19 13:05 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core™ i5 CPU M 450 @ 2.40GHz
WORD_SIZE: 64
BLAS: libblas
LAPACK: liblapack
LIBM: libm
LLVM: libLLVM-4.0.0 (ORCJIT, westmere)
Thank you.