Skip to content

copy is ambiguous #362

@benedict-96

Description

@benedict-96

With v2.4 I get the following error:

ERROR: MethodError: copy(::ArrayLayouts.Mul{LazyArrays.BroadcastLayout{…}, LazyArrays.BroadcastLayout{…}, LazyArrays.BroadcastMatrix{…}, LazyArrays.BroadcastMatrix{…}}) is ambiguous.

[...]

Possible fix, define
  copy(::ArrayLayouts.Mul{LazyArrays.BroadcastLayout{typeof(*)}, LazyArrays.BroadcastLayout{typeof(-)}})

This however works with v2.3.2. Was this ambiguity introduced in v2.4?

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