The parallel_trees function assumes that all trees provided are roots of their respective forests. Within the code, the _arbor_index attribute is accessed, which only exists for trees that are forest roots. A fix for this needs to take care of cases where multiple trees from the same forest are given. If we are not careful, results could overwrite each other when recombined.
Bug report
The
parallel_trees
function assumes that all trees provided are roots of their respective forests. Within the code, the_arbor_index
attribute is accessed, which only exists for trees that are forest roots. A fix for this needs to take care of cases where multiple trees from the same forest are given. If we are not careful, results could overwrite each other when recombined.