diff --git a/psydac/linalg/basic.py b/psydac/linalg/basic.py index a0419107b..352421d0b 100644 --- a/psydac/linalg/basic.py +++ b/psydac/linalg/basic.py @@ -654,7 +654,7 @@ def transpose(self, conjugate=False): @staticmethod def simplify(addends): class_list = [a.__class__ for a in addends] - unique_list = [*{c: a for c, a in zip(class_list, addends}] + unique_list = [*{c: a for c, a in zip(class_list, addends)}] if len(unique_list) == 1: return addends out = ()