I guess it uses `np.int`, which may be different than `np.intp` on some platforms (such as Windows).