Skip to content

Commit

Permalink
Simplify cython partition api
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <[email protected]>
  • Loading branch information
adam2392 committed Jun 20, 2024
1 parent 08658c6 commit f0f69be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/tree/_splitter.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ cdef inline int node_split_random(
"""
cdef const int8_t[:] monotonic_cst = splitter.monotonic_cst
cdef bint with_monotonic_cst = splitter.with_monotonic_cst

# Draw random splits and pick the best
cdef intp_t start = splitter.start
cdef intp_t end = splitter.end
Expand Down

0 comments on commit f0f69be

Please sign in to comment.