From b1e73c6e55b1df2307bd09127bc9bae0534cac73 Mon Sep 17 00:00:00 2001 From: jofrevalles Date: Fri, 15 Nov 2024 09:03:56 +0100 Subject: [PATCH] Fix typo --- src/MPS.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MPS.jl b/src/MPS.jl index 6d4c3119..4b3b6ed2 100644 --- a/src/MPS.jl +++ b/src/MPS.jl @@ -303,8 +303,7 @@ function Base.rand(rng::Random.AbstractRNG, ::Type{MPS}; n, maxdim, eltype=Float arrays[1] = reshape(arrays[1], p, p) arrays[n] = reshape(arrays[n], p, p) - return MPS(arrays; order=(:l, :o, :r), form=MixedCanonical(Site(0))) - # return MPS(arrays; order=(:l, :o, :r)) + return MPS(arrays; order=(:l, :o, :r), form=MixedCanonical(Site(1))) end # TODO different input/output physical dims