Skip to content

Commit

Permalink
Bump to v0.5.2 and minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shinaoka committed Nov 26, 2024
1 parent f2ead98 commit b66f42a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PartitionedMPSs"
uuid = "17ce1de9-5131-45e3-8a48-9723b6e2dc23"
authors = ["Hiroshi Shinaoka <[email protected]> and contributors"]
version = "0.5.1"
version = "0.5.2"

[deps]
Coverage = "a2441757-f6aa-5fb2-8edb-039e3f45d037"
Expand Down
6 changes: 3 additions & 3 deletions src/subdomainmps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ function _iscompatible(projector::Projector, Ψ::AbstractMPS)
return all((_iscompatible(projector, x) for x in Ψ))
end

function rearrange_siteinds(SubDomainMPS::SubDomainMPS, sites)
mps_rearranged = rearrange_siteinds(MPS(SubDomainMPS), sites)
return project(SubDomainMPS(mps_rearranged), SubDomainMPS.projector)
function rearrange_siteinds(subdmps::SubDomainMPS, sites)
mps_rearranged = rearrange_siteinds(MPS(subdmps), sites)
return project(SubDomainMPS(mps_rearranged), subdmps.projector)
end

# Miscellaneous Functions
Expand Down

0 comments on commit b66f42a

Please sign in to comment.