Skip to content

round throws error when RNG, B = 0 #1

@VincentRagusa

Description

@VincentRagusa

When STD=0, then B=0, which causes M = round(RNG/B) to throw "ValueError: cannot convert float NaN to integer".

Needs to add "if STD == 0: return 1".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions