Skip to content

Consider pruning gen_weighted_bool #47

@eternaleye

Description

@eternaleye

It's trivial to open-code; it may not be worth the benefit to have it as a method.

If it is kept, perhaps change the check from n <= 1 to n == 0 to be clearer as to the intent, as only n == 0 would cause misbehavior in gen_range().

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-APIBreakage: API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions