From Single- and multi-dimensional Arrays · The Julia Language
If they all have a common promotion type then they get converted to that type using
convertand that type is the array’seltype
A somewhat abstract advice is to use Vector for elements which are used for “the same thing”. In your particular example, it would be more tidy to use a Tuple:
ivvec = (inds, vals)