Skip to content

Don't assume Int in _sametype in broadcasting #33391

Closed
@dlfivefifty

Description

@dlfivefifty

These lines are breaking InfiniteArrays.jl in Julia v1.0.5 (but not other v1.x or v1.0.x):

_sametype(a::OneTo, b::OneTo) = OneTo{Int}(a)

It seems like a bad idea to assume Int, as they may be BigInt. I can work around it but this should have been considered a breaking change.

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