Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jjren committed Aug 5, 2023
1 parent 005d609 commit 171b855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renormalizer/mps/mps.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,11 @@ def from_mpo(cls, mpo: Mpo):

mps.coeff = 1
if mpo.is_mpo:
logger.warning("Note that the qn part is directly inherited from mpo, make sure it is what you want!")
logger.debug("Note that the qn part is directly inherited from mpo, make sure it is what you want!")
mps.qn = [qn.copy() for qn in mpo.qn]
mps.qntot = mpo.qntot
mps.qnidx = mpo.qnidx
mps.to_right = None
mps.to_right = mpo.to_right
mps.compress_config = mpo.compress_config.copy()
return mps

Check warning on line 414 in renormalizer/mps/mps.py

View check run for this annotation

Codecov / codecov/patch

renormalizer/mps/mps.py#L406-L414

Added lines #L406 - L414 were not covered by tests

Expand Down

0 comments on commit 171b855

Please sign in to comment.