Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy is ambiguous #362

Open
benedict-96 opened this issue Feb 3, 2025 · 1 comment
Open

copy is ambiguous #362

benedict-96 opened this issue Feb 3, 2025 · 1 comment

Comments

@benedict-96
Copy link

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?

@dlfivefifty
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants