We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ce65c commit 65e8bf7Copy full SHA for 65e8bf7
src/amrex/extensions/MultiFab.py
@@ -316,9 +316,9 @@ def _process_index(self, index):
316
# If only one slice or integer passed in, it was not wrapped in a tuple
317
index = [index]
318
elif isinstance(index, tuple):
319
- if len(index) == 0:
+ if len(index) == 0:
320
# The empty tuple specifies all valid and ghost cells for all axis
321
- index = dims*[index]
+ index = dims * [index]
322
else:
323
index = list(index)
324
for i in range(len(index)):
0 commit comments