Try chol(B, Val{:L}) and chol(B, Val{:U})

On Sunday, October 18, 2015 at 2:19:29 AM UTC+2, james...@gmail.com wrote:
>
> Hi All:
>
> This has got to be simple, yet beyond me.
>
> I construct a matrix QQ that causes isposdef(QQ) to return true.
>
> However, at the Julia command line
>
>                 cQQ = chol(QQ, :L)
>
> returns
>
>
> WARNING: chol(a::AbstractMatrix, uplo::Symbol) is deprecated, use 
> chol(a::AbstractMatrix, uplo::Union{Val{:L},Val{:U}}) instead
>  in depwarn at deprecated.jl:73
>  in chol at deprecated.jl:531
> while loading no file, in expression starting on line 0
>
>
> Although this is only a warning, v.0.3.xx did not return a warning.
>
> Also, the online Julia documentation suggests that chol(QQ, :L) is correct 
> usage.
>
> Any advice?  What am I missing?
>
> Thanks.
>
> Jim
>
>
>

Reply via email to