number_of_leaves
may return -1 but is used in a log function
#242
Labels
bug
Something isn't working
number_of_leaves
may return -1 but is used in a log function
#242
Describe the bug
The method
number_of_leaves
(branchinggroup.jl:74
) may return -1 but its output is used in a log function without any checking.See
score = - log(number_of_leaves(parent_delta, deltas)) / log(length(deltas))
(branchinggroup.jl:147
)To Reproduce
See the tests of PR #241
The text was updated successfully, but these errors were encountered: