Skip to content

Return Option instead of NaN #29

@Shatur

Description

@Shatur

When the number of samples is less then required, methods from this crate usually returns NaN.
It's correct, but requires user to check the result or verify the number of samples.

Maybe return Option instead? This will be consistent with other methods on Iterator.

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