PoisotLab / SpeciesDistributionToolkit.jl

Work with species distributions in Julia
https://poisotlab.github.io/SpeciesDistributionToolkit.jl/
Other
13 stars 2 forks source link

SDeMo chokes on some decision trees when a single node is involved #287

Closed tpoisot closed 3 days ago

tpoisot commented 5 days ago

This is because at some point in the code there's an iteration, and some series of recursive function sometimes return a single node that's therefore not iterable. This is an easy fix.