Skip to content

Commit 268050a

Browse files
committed
Move chkuplo to lacpy!
1 parent 8ea8f55 commit 268050a

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
@@ -2111,7 +2111,6 @@ 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)
21152114
B === A && return B
21162115
A = Base.unalias(B, A)
21172116
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)