Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jofrevalles committed Nov 15, 2024
1 parent a92aca2 commit b1e73c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/MPS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1e73c6

Please sign in to comment.