LazyArrays.jl icon indicating copy to clipboard operation
LazyArrays.jl copied to clipboard

`copy` is ambiguous

Open benedict-96 opened this issue 10 months ago • 1 comments

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?

benedict-96 avatar Feb 03 '25 14:02 benedict-96

Please include the full error message, usually I can debug it

dlfivefifty avatar Feb 03 '25 15:02 dlfivefifty