We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6066ec3 commit 17f5680Copy full SHA for 17f5680
examples/plot_matrixmult.py
@@ -87,7 +87,7 @@
87
88
base_comm = MPI.COMM_WORLD
89
comm, rank, row_id, col_id, is_active = MPIMatrixMult.active_grid_comm(base_comm, N, M)
90
-print(f"Process {base_comm.Get_rank()} is {"active" if is_active else "inactive"}")
+print(f"Process {base_comm.Get_rank()} is {'active' if is_active else 'inactive'}")
91
if not is_active: exit(0)
92
93
# Create sub‐communicators
0 commit comments