Skip to content

InfStepRange is not an ordinal range #109

@jishnub

Description

@jishnub

See JuliaArrays/FillArrays.jl#207

Currently, InfStepRange is too permissive:

julia> InfiniteArrays.InfStepRange(3, 2.5)
3:2.5:+

If this is an ordinal range, the step size should be limited to multiples of oneunit. Perhaps the current design is accidental, rather than the intention, and the start and step should be integers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions