diff --git a/sklearn/tree/_tree.pyx b/sklearn/tree/_tree.pyx index b5c14f19f7982..56809f7c4ee71 100644 --- a/sklearn/tree/_tree.pyx +++ b/sklearn/tree/_tree.pyx @@ -408,7 +408,7 @@ cdef class DepthFirstTreeBuilder(TreeBuilder): if not is_leaf: splitter.node_split( &parent_record, - &split, + split_ptr, ) # assign local copy of SplitRecord to assign