Closed PerretB closed 1 year ago
The parameter deleted_nodes of reconstruct_leaf_data is modified if tree.category() == hg.TreeCategory.ComponentTree. A copy of the parameter should be made to avoid this unexpected behavior.
deleted_nodes
reconstruct_leaf_data
tree.category() == hg.TreeCategory.ComponentTree
The parameter
deleted_nodes
ofreconstruct_leaf_data
is modified iftree.category() == hg.TreeCategory.ComponentTree
. A copy of the parameter should be made to avoid this unexpected behavior.