Skip to content

Commit 6bf623a

Browse files
committed
Revert "Move chkuplo to lacpy!"
This reverts commit 4aa966f.
1 parent 268050a commit 6bf623a

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
@@ -2111,6 +2111,7 @@ end
21112111
# Forward LAPACK-compatible strided matrices to lacpy
21122112
function copytrito!(B::StridedMatrixStride1{T}, A::StridedMatrixStride1{T}, uplo::AbstractChar) where {T<:BlasFloat}
21132113
require_one_based_indexing(A, B)
2114+
BLAS.chkuplo(uplo)
21142115
B === A && return B
21152116
A = Base.unalias(B, A)
21162117
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)