Skip to content

Commit 65e8bf7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 72ce65c commit 65e8bf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/amrex/extensions/MultiFab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ def _process_index(self, index):
316316
# If only one slice or integer passed in, it was not wrapped in a tuple
317317
index = [index]
318318
elif isinstance(index, tuple):
319-
if len(index) == 0:
319+
if len(index) == 0:
320320
# The empty tuple specifies all valid and ghost cells for all axis
321-
index = dims*[index]
321+
index = dims * [index]
322322
else:
323323
index = list(index)
324324
for i in range(len(index)):

0 commit comments

Comments
 (0)