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

Method ambiguities reported by Aqua #284

Open
prbzrg opened this issue Dec 27, 2023 · 0 comments
Open

Method ambiguities reported by Aqua #284

prbzrg opened this issue Dec 27, 2023 · 0 comments

Comments

@prbzrg
Copy link

prbzrg commented Dec 27, 2023

In Julia v1.10, I used Aqua to detect method ambiguities in my package impICNF/ContinuousNormalizingFlows.jl#356 and some of its report were related to this package:

Ambiguity #66
copyto!(x::AbstractArray{<:Any, N}, C::LazyArrays.Cumsum{<:Any, N}) where N @ LazyArrays ~/.julia/packages/LazyArrays/8MqhP/src/lazyoperations.jl:438
copyto!(dest::PermutedDimsArray{T, N}, src::AbstractArray{T, N}) where {T, N} @ Base.PermutedDimsArrays permuteddimsarray.jl:230

Possible fix, define
  copyto!(::PermutedDimsArray{T, N}, ::LazyArrays.Cumsum{T, N}) where {T, N}

Ambiguity #69
copyto!(x::AbstractArray{<:Any, N}, C::LazyArrays.Cumsum{<:Any, N}) where N @ LazyArrays ~/.julia/packages/LazyArrays/8MqhP/src/lazyoperations.jl:438
copyto!(dest::PermutedDimsArray, src::AbstractArray) @ Base.PermutedDimsArrays permuteddimsarray.jl:234

Possible fix, define
  copyto!(::PermutedDimsArray{T, N} where T, ::LazyArrays.Cumsum{T, N} where T) where N

I would appreciate your attention to this issue.

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

1 participant