You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: New definition
*(#T<:Any, Type{Measures.Length{:cx, T<:Any}}) at /Users/Romain/.julia/v0.4/Compose/src/measure.jl:13
is ambiguous with:
*(IterativeSolvers.AbstractMatrixFcn, Any) at /Users/Romain/.julia/v0.4/IterativeSolvers/src/common.jl:118.
To fix, define
*(_<:IterativeSolvers.AbstractMatrixFcn, Type{Measures.Length{:cx, T<:Any}})
before the new definition.
WARNING: New definition
*(#T<:Any, Type{Measures.Length{:cy, T<:Any}}) at /Users/Romain/.julia/v0.4/Compose/src/measure.jl:14
is ambiguous with:
*(IterativeSolvers.AbstractMatrixFcn, Any) at /Users/Romain/.julia/v0.4/IterativeSolvers/src/common.jl:118.
To fix, define
*(_<:IterativeSolvers.AbstractMatrixFcn, Type{Measures.Length{:cy, T<:Any}})
Br,
Romain.
The text was updated successfully, but these errors were encountered:
Unfortunately I don't think it's possible to fix this problem in this current version of Julia. IterativeSolvers cannot express the required interface of the linear operator as a type constraint within the current type system. Instead, we would require a mechanism like traits (JuliaLang/julia#13222) or interfaces (JuliaLang/julia#6975), either of which would be a worthy software design experiment to try out.
Another possibility that has been discussed is to turn ambiguity warnings into run time errors (c.f. JuliaLang/julia#6190), which would only affect users that tried to call ambiguous methods.
Hello,
There is a ambiguity with the package measure.jl:
Br,
Romain.
The text was updated successfully, but these errors were encountered: