Skip to content

Commit

Permalink
misc: Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
EdCaunt committed Jan 8, 2025
1 parent d9dea13 commit 0e63897
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion devito/mpi/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ def all_ranges(self):
ret = []
for i in self.all_numb:
# In cases where ranks are empty, return a range(0, 0)
# FIXME: Not sure I like this, seems hacky
ret.append(EnrichedTuple(*[range(min(j), max(j) + 1) if len(j) > 0
else range(0, 0) for j in i],
getters=self.dimensions))
Expand Down
1 change: 0 additions & 1 deletion devito/mpi/halo_scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from devito.symbolics.manipulation import _uxreplace_registry
from devito.tools import (Reconstructable, Tag, as_tuple, filter_ordered, flatten,
frozendict, is_integer, filter_sorted, EnrichedTuple)
from devito.types import Grid

__all__ = ['HaloScheme', 'HaloSchemeEntry', 'HaloSchemeException', 'HaloTouch']

Expand Down

0 comments on commit 0e63897

Please sign in to comment.