Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FiniteMPS addition not full-rank #96

Merged
merged 3 commits into from
Dec 1, 2023
Merged

Fix FiniteMPS addition not full-rank #96

merged 3 commits into from
Dec 1, 2023

Conversation

lkdvos
Copy link
Member

@lkdvos lkdvos commented Nov 30, 2023

Fixes #95

src/states/finitemps.jl Outdated Show resolved Hide resolved
@@ -58,7 +58,13 @@ struct FiniteMPS{A<:GenericMPSTensor,B<:MPSBondTensor} <: AbstractFiniteMPS
ARs::Vector{Union{Missing,A}}
ACs::Vector{Union{Missing,A}}
CLs::Vector{Union{Missing,B}}

function FiniteMPS{A,B}(ALs::Vector{Union{Missing,A}},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
function FiniteMPS{A,B}(ALs::Vector{Union{Missing,A}},
function FiniteMPS{A,B}(
ALs::Vector{Union{Missing,A}},

Copy link

codecov bot commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (11a93d7) 83.79% compared to head (9b661d8) 83.78%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
- Coverage   83.79%   83.78%   -0.02%     
==========================================
  Files          63       63              
  Lines        3827     3842      +15     
==========================================
+ Hits         3207     3219      +12     
- Misses        620      623       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lkdvos lkdvos merged commit e8659ce into master Dec 1, 2023
7 of 11 checks passed
@lkdvos lkdvos deleted the issue#95 branch December 1, 2023 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding FiniteMPS results in state that is not full-rank
1 participant