From 359c07dcd073bd53a4a723cf71a3631b7fec25ad Mon Sep 17 00:00:00 2001 From: jjren Date: Wed, 6 Apr 2022 21:06:53 +0800 Subject: [PATCH] fix bug --- renormalizer/mps/mps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renormalizer/mps/mps.py b/renormalizer/mps/mps.py index 830f8b7f..bf4d46e5 100644 --- a/renormalizer/mps/mps.py +++ b/renormalizer/mps/mps.py @@ -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