Skip to content

Ambiguity issue in broadcasting. #354

Description

@ptiede

This came up in rafaqz/DimensionalData.jl#1195

Essentially, it appears that StructArrays is defining its Broadcasting precedence incorrectly. The Julia interface's docs for binary broadcasting rules make this pretty clear https://docs.julialang.org/en/v1/manual/interfaces/#writing-binary-broadcasting-rules

It looks like essentially we should delete this line of code

BroadcastStyle(::StructArrayStyle, ::DefaultArrayStyle) = Unknown()

I'll make a PR shortly that removes this and examine what, if anything, breaks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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