Commit 62906775 authored by Gilles Guitton's avatar Gilles Guitton

- fix typo in Slices instantation.

parent a1a6bda0
......@@ -257,7 +257,7 @@ class Slices(tuple):
raise Exception('Unexpected type for dimsizes.')
# Check slices input type
if slices is None:
_slices = [slice(None)] * len(dimsizes)
_slices = [slice(None)] * len(_dimsizes)
elif isinstance(slices, (slice, int)):
_slices = [slices]
elif isinstance(slices, tuple):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment