Weird issue with the overloaded multiplication operation
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Read MatrixNetworks/src/diffusions.jl around lines 296 and 325 and Compose/src/measure.jl around lines 9-10. First try reproducing the load warnings on a current environment, then determine whether the reported method ambiguities still occur. Done means the packages load without these multiplication warnings, with relevant tests or a reproduction confirming the result.
Written by the indexing model from the issue text.
Description
I think compose gives a weird error with the current master branch.
using Compose
using MatrixNetworks
WARNING: New definition
*(MatrixNetworks.SparseMatrixStochasticMult, Any) at /home/dgleich/.julia/v0.4/MatrixNetworks/src/diffusions.jl:296
is ambiguous with:
*(#T<:Any, Type{Measures.Length{:cx, T<:Any}}) at /home/dgleich/.julia/v0.4/Compose/src/measure.jl:9.
To fix, define
*(MatrixNetworks.SparseMatrixStochasticMult, Type{Measures.Length{:cx, T<:Any}})
before the new definition.
WARNING: New definition
*(MatrixNetworks.SparseMatrixStochasticMult, Any) at /home/dgleich/.julia/v0.4/MatrixNetworks/src/diffusions.jl:296
is ambiguous with:
*(#T<:Any, Type{Measures.Length{:cy, T<:Any}}) at /home/dgleich/.julia/v0.4/Compose/src/measure.jl:10.
To fix, define
*(MatrixNetworks.SparseMatrixStochasticMult, Type{Measures.Length{:cy, T<:Any}})
before the new definition.
WARNING: New definition
*(MatrixNetworks.MatrixNetworkStochasticMult, Any) at /home/dgleich/.julia/v0.4/MatrixNetworks/src/diffusions.jl:325
is ambiguous with:
*(#T<:Any, Type{Measures.Length{:cx, T<:Any}}) at /home/dgleich/.julia/v0.4/Compose/src/measure.jl:9.
To fix, define
*(MatrixNetworks.MatrixNetworkStochasticMult, Type{Measures.Length{:cx, T<:Any}})
before the new definition.
WARNING: New definition
*(MatrixNetworks.MatrixNetworkStochasticMult, Any) at /home/dgleich/.julia/v0.4/MatrixNetworks/src/diffusions.jl:325
is ambiguous with:
*(#T<:Any, Type{Measures.Length{:cy, T<:Any}}) at /home/dgleich/.julia/v0.4/Compose/src/measure.jl:10.
To fix, define
*(MatrixNetworks.MatrixNetworkStochasticMult, Type{Measures.Length{:cy, T<:Any}})
before the new definition.
- Dominant language
- Julia
- Stars
- 110
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaGraphs/MatrixNetworks.jl
-
Register new releaseOpen
Difficulty 1/5 Under an hour Newbie friendliness 35/100
JuliaGraphs/MatrixNetworks.jl#70 · 13 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Add Metis HierarchyOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in JuliaGraphs/MatrixNetworks.jl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaDiff/ChainRules.jl#871 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
JuliaStats/LogExpFunctions.jl#134 · 2 comments ·
-
code bug PowerSystems 6.0
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Sienna-Platform/PowerSystems.jl#1849 ·
Maintainers usually reply within 7 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100