Skip to content

Commit de38d1b

Browse files
amuellerogrisel
authored andcommitted
make X_stride be np.npy_intp
1 parent e6cc861 commit de38d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/utils/seq_dataset.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cdef class ArrayDataset(SequentialDataset):
3030
cdef np.ndarray Y
3131
cdef np.ndarray sample_weights
3232
cdef Py_ssize_t n_features
33-
cdef int X_stride
33+
cdef np.npy_intp X_stride
3434
cdef double *X_data_ptr
3535
cdef double *Y_data_ptr
3636
cdef np.ndarray feature_indices

0 commit comments

Comments
 (0)