We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24653e8 commit 485926eCopy full SHA for 485926e
sklearn/tree/_utils.pyx
@@ -71,7 +71,7 @@ cdef inline np.ndarray sizet_ptr_to_ndarray(SIZE_t* data, SIZE_t size):
71
72
cdef inline SIZE_t rand_int(SIZE_t low, SIZE_t high,
73
UINT32_t* random_state) nogil:
74
- """Generate a random integer in [0; end)."""
+ """Generate a random integer in [low; end)."""
75
return low + our_rand_r(random_state) % (high - low)
76
77
0 commit comments