please use `np.full(t, n, dtype=np.intp)`.