brian-j-smith / Mamba.jl

Markov chain Monte Carlo (MCMC) for Bayesian analysis in julia
Other
254 stars 52 forks source link

WARNING: New definition in Salm example #100

Closed aus70 closed 8 years ago

aus70 commented 8 years ago

When running the Salm: Extra-Poisson Variation in a Dose-Response Study example, I get the following message:

WARNING: New definition 
    +(AbstractArray, DataArrays.DataArray) at /home/aus/.julia/v0.4/DataArrays/src/operators.jl:276
is ambiguous with: 
    +(WoodburyMatrices.SymWoodbury, AbstractArray{T<:Any, 2}) at /home/aus/.julia/v0.4/WoodburyMatrices/src/SymWoodburyMatrices.jl:107.
To fix, define 
    +(WoodburyMatrices.SymWoodbury, DataArrays.DataArray{T<:Any, 2})
before the new definition.
WARNING: New definition 
    +(AbstractArray, DataArrays.AbstractDataArray) at /home/aus/.julia/v0.4/DataArrays/src/operators.jl:300
is ambiguous with: 
    +(WoodburyMatrices.SymWoodbury, AbstractArray{T<:Any, 2}) at /home/aus/.julia/v0.4/WoodburyMatrices/src/SymWoodburyMatrices.jl:107.
To fix, define 
    +(WoodburyMatrices.SymWoodbury, DataArrays.AbstractDataArray{T<:Any, 2})
before the new definition.

Should I worry? Is there a way to easily fix it? Thanks!

brian-j-smith commented 8 years ago

It looks like the warnings are coming from the Woodbury package and are benign as noted at https://github.com/timholy/WoodburyMatrices.jl/issues/13. No need to worry. The warnings appear to be due to julia 0.4 to 0.5 changes and will go away in 0.5.

aus70 commented 8 years ago

very good, thanks!