8000 MAINT Fix C warning in Cython module splitting.pyx · scikit-learn/scikit-learn@7a8b16b · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a8b16b

Browse files
committed
MAINT Fix C warning in Cython module splitting.pyx
1 parent fc2b52e commit 7a8b16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/ensemble/_hist_gradient_boosting/splitting.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ cdef class Splitter:
572572
cdef unsigned int _find_best_feature_to_split_helper(
573573
self,
574574
split_info_struct * split_infos, # IN
575-
int n_allowed_features,
575+
unsigned int n_allowed_features,
576576
) noexcept nogil:
577577
"""Return the index of split_infos with the best feature split."""
578578
cdef:

0 commit comments

Comments
 (0)
0