Skip to content

Commit baa4d1e

Browse files
committed
mpi: Fixup HaloSchemeEntry.__hash__
1 parent 9159701 commit baa4d1e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

devito/mpi/halo_scheme.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def __new__(cls, loc_indices, loc_dirs, halos, dims, bundle=None, getters=None):
4040
return super().__new__(cls, *items, getters=getters, **kwargs)
4141

4242
def __hash__(self):
43-
return hash((self.loc_indices, self.loc_dirs, self.halos, self.dims))
43+
return hash((self.loc_indices, self.loc_dirs, self.halos, self.dims,
44+
self.bundle))
4445

4546
def union(self, other):
4647
"""

0 commit comments

Comments
 (0)