Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 26, 2024
1 parent c6cd7b5 commit 23a5075
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Python/pywarpx/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,9 @@ def _get_field(self, mfi):
]
return device_arr

def _get_intersect_slice(self, mfi, starts, stops, icstart, icstop, with_internal_ghosts):
def _get_intersect_slice(
self, mfi, starts, stops, icstart, icstop, with_internal_ghosts
):
"""Return the slices where the block intersects with the global slice.
If the block does not intersect, return None.
This also shifts the block slices by the number of ghost cells in the
Expand Down

0 comments on commit 23a5075

Please sign in to comment.