Skip to content

Commit 9d8ea0f

Browse files
Fix checksquare error message (#417)
1 parent 518cb2a commit 9d8ea0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/factorizations/factorizations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ LinearAlgebra.ishermitian(t::AbstractTensorMap) = MAK.ishermitian(t)
7979
function LinearAlgebra.checksquare(t::AbstractTensorMap)
8080
dom = domain(t)
8181
cod = codomain(t)
82-
dom == cod || throw(SpaceMismatch(lazy"tensor is not square: codomain $cod ≠ domain $cod"))
82+
dom == cod || throw(SpaceMismatch(lazy"tensor is not square: codomain $cod ≠ domain $dom"))
8383
return dom
8484
end
8585

0 commit comments

Comments
 (0)