Skip to content

Weird issue with the overloaded multiplication operation #33

@dgleich

Description

@dgleich

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions