Skip to content

Commit

Permalink
reset example type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Jun 28, 2024
1 parent c256752 commit dd8cdab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/parallel-vtkhdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def main(*, ambient_dim: int) -> None:
parts = [part_id_to_part[i] for i in range(comm.size)]
local_mesh = comm.scatter(parts)
else:
local_mesh = comm.scatter(None)
# Reason for type-ignore: presumed faulty type annotation in mpi4py
local_mesh = comm.scatter(None) # type: ignore[arg-type]

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

Expand Down

0 comments on commit dd8cdab

Please sign in to comment.