Skip to content

Commit

Permalink
fix: ensure variable list provided to search is unique
Browse files Browse the repository at this point in the history
  • Loading branch information
hellkite500 committed Aug 28, 2024
1 parent ba07a38 commit 9875096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/ngen_cal/src/ngen/cal/calibratable.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def id(self) -> str:
@property
def variables(self) -> Series:
"""
Index series of variables
Index of unique variables to permute
"""
return Series(self.df.index.values)
return Series(self.df.index.unique().values)

@property
def bounds(self) -> tuple[Series, Series]:
Expand Down

0 comments on commit 9875096

Please sign in to comment.