Skip to content

Commit 5eafe4c

Browse files
committed
small fix
1 parent ee5d8b6 commit 5eafe4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/algorithms/changebonds/randexpand.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ function changebonds!(ψ::InfiniteMPS, alg::RandExpand)
3333
V = sample_space(infimum(right_virtualspace(VL), space(VR, 1)), alg.trscheme)
3434

3535
# obtain (orthogonal) directions as isometries in that direction
36-
XL = randisometry(storagetype(VL), right_virtualspace(VL) V)
36+
XL = randisometry(scalartype(VL), right_virtualspace(VL) V)
3737
AL′[i] = VL * XL
38-
XR = randisometry(storagetype(VL), space(VR, 1) V)
38+
XR = randisometry(scalartype(VR), space(VR, 1) V)
3939
AR′[i + 1] = XR * VR
4040
end
4141

0 commit comments

Comments
 (0)