Skip to content

Commit 1f4f915

Browse files
committed
Revert "Move chkuplo to lacpy!"
This reverts commit 4aa966f.
1 parent 4aa966f commit 1f4f915

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/generic.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2098,6 +2098,7 @@ 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)
21012102
B === A && return B
21022103
A = Base.unalias(B, A)
21032104
LAPACK.lacpy!(B, A, uplo)

src/lapack.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7176,7 +7176,6 @@ 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)
71807179
m, n = size(A)
71817180
m1, n1 = size(B)
71827181
if uplo == 'U'

0 commit comments

Comments
 (0)