Skip to content

Overload float #176

@dlfivefifty

Description

@dlfivefifty
julia> float(-1..1) # works
-1.0 .. 1.0

julia> float((-1..1)^2) # should work
ERROR: MethodError: no method matching AbstractFloat(::DomainSets.Rectangle{SVector{2, Int64}})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions