Skip to content

Commit

Permalink
more inmutability now in _ArrayAC
Browse files Browse the repository at this point in the history
  • Loading branch information
juanbc committed Sep 23, 2023
1 parent 6e02ad4 commit aaca203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skcriteria/core/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __new__(cls, input_array, skc_slicer):
def __getitem__(self, k):
try:
if k in self:
return self._skc_slicer(k)
return self._skc_slicer(k).copy()
return super().__getitem__(k)
except IndexError:
raise IndexError(k)
Expand Down

0 comments on commit aaca203

Please sign in to comment.