Use type passed in instead of guess a wrong type for getindex
Use type passed in instead of guess a wrong type for getindex

IntelLabs/ParallelAccelerator.jl,malekbr/julia-to-tiramisu,JuliaPackageMirrors/ParallelAccelerator.jl