From 7687b26823edb4da658081ee83df4e6bace1dc15 Mon Sep 17 00:00:00 2001 From: Markus Semmler Date: Mon, 7 Aug 2023 17:42:32 +0200 Subject: [PATCH] Remove code duplication. --- src/pydvl/utils/dataset.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pydvl/utils/dataset.py b/src/pydvl/utils/dataset.py index b7ff17340..cab59416b 100644 --- a/src/pydvl/utils/dataset.py +++ b/src/pydvl/utils/dataset.py @@ -414,11 +414,6 @@ def __init__( def __len__(self): return len(self.groups) - @property - def indices(self): - """Indices of the groups.""" - return self._indices - # FIXME this is a misnomer, should be `names` in `Dataset` so that here it # makes sense @property