[bug] Fix missing ti.template() in rand_vector(n) in examples (#2636)
[bug] Fix missing ti.template() in rand_vector(n) in examples (#2636)


yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi