Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jjren authored and liwt31 committed Apr 7, 2022
1 parent 45e77ce commit 359c07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renormalizer/mps/mps.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def normalize(self, kind):
elif kind == "mps_norm_to_coeff":
new_coeff = self.coeff * self.mp_norm
else:
raise ValueError(f"kind={kind} is valid.")
raise ValueError(f"kind={kind} is not valid.")
new_mps = self.scale(1.0 / self.mp_norm, inplace=True)
new_mps.coeff = new_coeff

Expand Down

0 comments on commit 359c07d

Please sign in to comment.