juanfung / scpd

0 stars 0 forks source link

Function `diagm` is deprecated #16

Closed juanfung closed 5 years ago

juanfung commented 5 years ago

When running causal-sims.jl:

julia> R = diagm([1/rho, r, r]) ┌ Warning: diagm(v::AbstractVector) is deprecated, use diagm(0 => v) or Matrix(Diagonal(v)) instead. │ caller = top-level scope at none:0 └ @ Core none:0

juanfung commented 5 years ago

See 7f5e64864c48f8d8cfc008ac8172b595c46e6679 fixes in dpm_ppd.jl