Skip to content

Commit

Permalink
fix product
Browse files Browse the repository at this point in the history
  • Loading branch information
killiansheriff committed Nov 5, 2024
1 parent fc51576 commit 35c4b3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/WarrenCowleyParameters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,8 @@ def create_visualization_tables(self, unique_types, nshells, wc_for_shells):
def _get_labels_and_values(self, unique_types, wc_for_shells, shell_index):
labels, values = [], []
idx = range(len(unique_types))

# for i, j in itertools.combinations_with_replacement(idx, 2):
for i, j in itertools.permutations(idx, 2):
for i, j in list(itertools.product(idx, repeat=2)):
namei = self.get_type_name(unique_types[i])
namej = self.get_type_name(unique_types[j])
labels.append(f"{namei}-{namej}")
Expand Down

0 comments on commit 35c4b3d

Please sign in to comment.