Skip to content

Commit

Permalink
add sort to hoppefully solve the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vcarlier committed Dec 11, 2023
1 parent 8ac3eb5 commit 9c6ce51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psydac/linalg/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ def transpose(self, conjugate=False):
@staticmethod
def simplifiy(addends):
class_list = [addends[i].__class__.__name__ for i in range(len(addends))]
unique_list = list(set(class_list))
unique_list = list(set(class_list)).sort()
if len(unique_list) == 1:
return addends
out = ()
Expand Down

0 comments on commit 9c6ce51

Please sign in to comment.