Skip to content

ComponentArray errors with findall #255

Open
@pdeffebach

Description

Is this expected behavior?

It's causing some annoying bugs for me.

julia> t = ComponentArray(a = [1, 2], b = [3, 4])
ComponentVector{Int64}(a = [1, 2], b = [3, 4])

julia> findall(<(2), t)
ERROR: MethodError: Cannot `convert` an object of type Int64 to an object of type Symbol

Activity

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

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