Skip to content

Commit b05a4f2

Browse files
committed
Revert "LazyString in LinearAlgebra.checksquare error message (#53961)"
This reverts commit feceefe.
1 parent 97b0571 commit b05a4f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/LinearAlgebra/src/LinearAlgebra.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,14 @@ julia> LinearAlgebra.checksquare(A, B)
238238
"""
239239
function checksquare(A)
240240
m,n = size(A)
241-
m == n || throw(DimensionMismatch(lazy"matrix is not square: dimensions are $(size(A))"))
241+
m == n || throw(DimensionMismatch("matrix is not square: dimensions are $(size(A))"))
242242
m
243243
end
244244

245245
function checksquare(A...)
246246
sizes = Int[]
247247
for a in A
248-
size(a,1)==size(a,2) || throw(DimensionMismatch(lazy"matrix is not square: dimensions are $(size(a))"))
248+
size(a,1)==size(a,2) || throw(DimensionMismatch("matrix is not square: dimensions are $(size(a))"))
249249
push!(sizes, size(a,1))
250250
end
251251
return sizes

0 commit comments

Comments
 (0)