Skip to content

Commit 4aa966f

Browse files
committed
Move chkuplo to lacpy!
1 parent 90161b9 commit 4aa966f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/generic.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,6 @@ end
20982098
# Forward LAPACK-compatible strided matrices to lacpy
20992099
function copytrito!(B::StridedMatrixStride1{T}, A::StridedMatrixStride1{T}, uplo::AbstractChar) where {T<:BlasFloat}
21002100
require_one_based_indexing(A, B)
2101-
BLAS.chkuplo(uplo)
21022101
B === A && return B
21032102
A = Base.unalias(B, A)
21042103
LAPACK.lacpy!(B, A, uplo)

src/lapack.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7176,6 +7176,7 @@ for (fn, elty) in ((:dlacpy_, :Float64),
71767176
function lacpy!(B::AbstractMatrix{$elty}, A::AbstractMatrix{$elty}, uplo::AbstractChar)
71777177
require_one_based_indexing(A, B)
71787178
chkstride1(A, B)
7179+
chkuplo(uplo)
71797180
m, n = size(A)
71807181
m1, n1 = size(B)
71817182
if uplo == 'U'

0 commit comments

Comments
 (0)