8000 Correct in typo in comments. (#11595) · scikit-learn/scikit-learn@8a15053 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8a15053

Browse files
ZhiqingXiaoamueller
authored andcommitted
Correct in typo in comments. (#11595)
Correct in typo in comments. new_po -> new_pos
1 parent 52b6a66 commit 8a15053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/tree/_criterion.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ cdef class RegressionCriterion(Criterion):
842842
# sum_left[x] + sum_right[x] = sum_total[x]
843843
# and that sum_total is known, we are going to update
844844
# sum_left from the direction that require the least amount
845-
# of computations, i.e. from pos to new_pos or from end to new_po.
845+
# of computations, i.e. from pos to new_pos or from end to new_pos.
846846

847847
if (new_pos - pos) <= (end - new_pos):
848848
for p in range(pos, new_pos):

0 commit comments

Comments
 (0)
0