Skip to content

Commit

Permalink
Remove a type: ignore no longer needed thanks to mpi4p4>=4
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Aug 1, 2024
1 parent d2ff43c commit 4097856
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/parallel-vtkhdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ def main(*, ambient_dim: int) -> None:
parts = [part_id_to_part[i] for i in range(comm.size)]
local_mesh = comm.scatter(parts)
else:
# Reason for type-ignore: presumed faulty type annotation in mpi4py
local_mesh = comm.scatter(None) # type: ignore[arg-type]
local_mesh = comm.scatter(None)

logger.info("[%4d] distributing mesh: finished", comm.rank)

Expand Down

0 comments on commit 4097856

Please sign in to comment.