Skip to content

Commit

Permalink
add deprecation for cholesky uplo type change, closes #11546
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Jun 2, 2015
1 parent 829fa07 commit c85f1be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -481,3 +481,11 @@ export float32_isvalid, float64_isvalid
# 11379

@deprecate utf32(c::Integer...) UTF32String(UInt32[c...,0])

# 10862

function chol(A::AbstractMatrix, uplo::Symbol)
depwarn(string("chol(a::AbstractMatrix, uplo::Symbol) is deprecated, ",
"use chol(a::AbstractMatrix, uplo::Union(Val{:L},Val{:U})) instead"), :chol)
chol(A, Val{uplo})
end

0 comments on commit c85f1be

Please sign in to comment.