Skip to content

Commit 925bad8

Browse files
authored
Fix error message in sparse envs (#392)
1 parent d328a3a commit 925bad8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/algorithms/ctmrg/sparse_environments.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function TensorKit.TensorMap(Q::EnlargedCorner)
7676
elseif Q.dir == SOUTHWEST
7777
return enlarge_southwest_corner(Q.E_1, Q.C, Q.E_2, Q.A)
7878
else
79-
throw(ArgumentError(lazy"Invalid direction $dir"))
79+
throw(ArgumentError(lazy"Invalid direction $(Q.dir)"))
8080
end
8181
end
8282

0 commit comments

Comments
 (0)