Skip to content

Commit e62193f

Browse files
committed
Remove LinearAlgebra qualifications in cholesky.jl
(cherry picked from commit 95d009b)
1 parent 4e7c3f4 commit e62193f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cholesky.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ function _cholpivoted!(A::AbstractMatrix, ::Type{UpperTriangular}, tol::Real, ch
305305
rTA = real(eltype(A))
306306
# checks
307307
Base.require_one_based_indexing(A)
308-
n = LinearAlgebra.checksquare(A)
308+
n = checksquare(A)
309309
# initialization
310310
piv = collect(1:n)
311311
dots = zeros(rTA, n)
@@ -354,7 +354,7 @@ function _cholpivoted!(A::AbstractMatrix, ::Type{LowerTriangular}, tol::Real, ch
354354
rTA = real(eltype(A))
355355
# checks
356356
Base.require_one_based_indexing(A)
357-
n = LinearAlgebra.checksquare(A)
357+
n = checksquare(A)
358358
# initialization
359359
piv = collect(1:n)
360360
dots = zeros(rTA, n)
@@ -813,7 +813,7 @@ function rdiv!(B::AbstractMatrix, C::Cholesky)
813813
end
814814
end
815815

816-
function LinearAlgebra.rdiv!(B::AbstractMatrix, C::CholeskyPivoted)
816+
function rdiv!(B::AbstractMatrix, C::CholeskyPivoted)
817817
n = size(C, 2)
818818
for i in 1:size(B, 1)
819819
permute!(view(B, i, 1:n), C.piv)
@@ -965,7 +965,7 @@ function lowrankdowndate!(C::Cholesky, v::AbstractVector)
965965
s = conj(v[i]/Aii)
966966
s2 = abs2(s)
967967
if s2 > 1
968-
throw(LinearAlgebra.PosDefException(i))
968+
throw(PosDefException(i))
969969
end
970970
c = sqrt(1 - abs2(s))
971971

0 commit comments

Comments
 (0)