Skip to content

Commit 7749fc7

Browse files
committed
Updated issue with extent
1 parent b77a744 commit 7749fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arraypartition/partition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def copy(self, extent=None):
363363
"""
364364
kwargs = self.get_kwargs()
365365
if extent:
366-
kwargs['extent'] = combine_slices(self.shape, self._extent, extent)
366+
kwargs['extent'] = combine_slices(self.shape, list(self.get_extent()), extent)
367367

368368
new_instance = ArrayPartition(
369369
self.filename,

0 commit comments

Comments
 (0)