Skip to content

Commit c85f1be

Browse files
committed
add deprecation for cholesky uplo type change, closes #11546
1 parent 829fa07 commit c85f1be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

base/deprecated.jl

+8
Original file line numberDiff line numberDiff line change
@@ -481,3 +481,11 @@ export float32_isvalid, float64_isvalid
481481
# 11379
482482

483483
@deprecate utf32(c::Integer...) UTF32String(UInt32[c...,0])
484+
485+
# 10862
486+
487+
function chol(A::AbstractMatrix, uplo::Symbol)
488+
depwarn(string("chol(a::AbstractMatrix, uplo::Symbol) is deprecated, ",
489+
"use chol(a::AbstractMatrix, uplo::Union(Val{:L},Val{:U})) instead"), :chol)
490+
chol(A, Val{uplo})
491+
end

0 commit comments

Comments
 (0)