caesar0301/treelib

Predecessor can't return None, but seems like should be able to?

andrewshvv opened this issue · 0 comments

From the code, it looks like the predecessor node function should be able to return None. But in the current implementation, it can't.

return self._predecessor[tree_id]