Skip to content

[BUG] Broadcasting operations mixing NaiveOrderedSet and Tuple is broken #32

@mtfishman

Description

@mtfishman

For example:

julia> using NamedDimsArrays

julia> NamedDimsArrays.NaiveOrderedSet((1, 2)) .== (1, 2)
ERROR: ArgumentError: broadcasting requires an assigned BroadcastStyle
Stacktrace:
 [1] copy(bc::Base.Broadcast.Broadcasted{Base.Broadcast.Unknown, Tuple{…}, typeof(==), Tuple{…}})
   @ Base.Broadcast ./broadcast.jl:888
 [2] materialize(bc::Base.Broadcast.Broadcasted{Base.Broadcast.Unknown, Nothing, typeof(==), Tuple{…}})
   @ Base.Broadcast ./broadcast.jl:872
 [3] top-level scope
   @ REPL[4]:1
Some type information was truncated. Use `show(err)` to see complete types.

(jl_wFDvoH) pkg> st NamedDimsArrays
Status `/private/var/folders/qz/q22pzwm144z9fq57mpf1hfp40000gq/T/jl_wFDvoH/Project.toml`
  [60cbd0c0] NamedDimsArrays v0.4.0

Related to #31.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions