Skip to content

[BUG] RandomLeafFilter constructor will divide by zero during unit test. #2091

@stolk

Description

@stolk

Environment

Debian Trixie

Describe the bug

With FP exceptions enabled, the unit test will throw a FP exception for the RandomLeafFilter code, as it will divide by zero.

To Reproduce

Enable FP exceptions (MR that adds toggle for this will follow.)

Expected behavior

No FP exception thrown.

Additional context

I have a fix, will create MR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions