Skip to content

Commit

Permalink
Comment out fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve committed Oct 13, 2023
1 parent 3fe9772 commit da596d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/tree/_tree.pyx
Expand Up @@ -914,7 +914,7 @@ cdef class Tree:
(capacity - self.capacity) * self.value_stride *
sizeof(float64_t))
# node memory is initialised to 0 to ensure deterministic pickle (padding in Node struct)
memset(<void*>(self.nodes + self.capacity), 0, (capacity - self.capacity) * sizeof(Node))
# memset(<void*>(self.nodes + self.capacity), 0, (capacity - self.capacity) * sizeof(Node))

# if capacity smaller than node_count, adjust the counter
if capacity < self.node_count:
Expand Down

0 comments on commit da596d7

Please sign in to comment.