Skip to content

Commit 571a7c0

Browse files
committed
little modify
1 parent c09204f commit 571a7c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayesml/hiddenmarkovnormal/_hiddenmarkovnormal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def set_params(
105105
self.mu_vecs = np.broadcast_to(np.reshape(self.mu_vecs, (self.c_degree, 1)), (self.c_degree, self.c_num_classes))
106106
if lambda_mats is not None:
107107
message = ""
108-
if lambda_mats.shape[:2] != (self.c_degree, self.c_degree)
108+
if lambda_mats.shape[:2] != (self.c_degree, self.c_degree):
109109
message += "lambda_mats.shape[:2] must coincide with (self.c_degree, self.c_degree):"
110110
+f"lambda_mats.shape[:2]={lambda_mats.shape[:2]}, (self.c_degree, self.c_degree)={(self.c_degree, self.c_degree)}"
111111
if len(lambda_mats) == 3:

0 commit comments

Comments
 (0)