diff --git a/spinn_utilities/ranged/ranged_list.py b/spinn_utilities/ranged/ranged_list.py index d18a19d7..78cab8e9 100644 --- a/spinn_utilities/ranged/ranged_list.py +++ b/spinn_utilities/ranged/ranged_list.py @@ -508,9 +508,9 @@ def set_value_by_slice( def _set_values_list(self, ids: IdsType, value: _ListType) -> None: values = self.as_list(value=value, size=len(ids), ids=ids) - id_value: int val: T - for id_value, val in zip(ids, values): + as_int: Sequence[int] = list(ids) + for id_value, val in zip(as_int, values): self.set_value_by_id(id_value, val) def set_value_by_ids(