Fix dpt.repeat() regression for 1D repeats array
#2229
Merged
dpt.repeat() regression for 1D repeats array
#2229