-
- Downloads
Fix BIH split calculations for empty regions
When computing the cost for splitting, if a regions was empty you would get a floating point error when multiplying the (invalid) region bound (inf or -inf) with the number of points (0). It would then check for NaN costs and reset that. This worked but caused a floating point exception, which is problematic for some users. Instead, check for empty regions before computing the cost and reset the cost that way.
parent
9ce97352
Branches
Tags