diff --git a/dace/subsets.py b/dace/subsets.py index 831666cc28..82cc9e8797 100644 --- a/dace/subsets.py +++ b/dace/subsets.py @@ -953,7 +953,7 @@ def offset_by(self, off: Collection, negative: bool): return Indices([self.indices[i] + mult * off for i, off in enumerate(off)]) def offset_new(self, other, negative, indices=None): - assert indices is None + assert not indices if not isinstance(other, Subset): if isinstance(other, (list, tuple)): other = Indices(other)