Skip to content

Commit 15036ff

Browse files
committed
Replace other instances
1 parent 185f363 commit 15036ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lapack.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,7 +2188,7 @@ for (geevx, ggev, ggev3, elty) in
21882188
function ggev!(jobvl::AbstractChar, jobvr::AbstractChar, A::AbstractMatrix{$elty}, B::AbstractMatrix{$elty})
21892189
require_one_based_indexing(A, B)
21902190
chkstride1(A,B)
2191-
n, m = checksquare(A,B)
2191+
n, m = map(checksquare, (A, B))
21922192
if n != m
21932193
throw(DimensionMismatch(lazy"A has dimensions $(size(A)), and B has dimensions $(size(B)), but A and B must have the same size"))
21942194
end
@@ -2252,7 +2252,7 @@ for (geevx, ggev, ggev3, elty) in
22522252
function ggev3!(jobvl::AbstractChar, jobvr::AbstractChar, A::AbstractMatrix{$elty}, B::AbstractMatrix{$elty})
22532253
require_one_based_indexing(A, B)
22542254
chkstride1(A,B)
2255-
n, m = checksquare(A,B)
2255+
n, m = map(checksquare, (A, B))
22562256
if n != m
22572257
throw(DimensionMismatch(lazy"A has dimensions $(size(A)), and B has dimensions $(size(B)), but A and B must have the same size"))
22582258
end

0 commit comments

Comments
 (0)