Skip to content

Commit 6cc3e71

Browse files
committed
Merging
2 parents 7ec740d + 3b5726a commit 6cc3e71

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/mpi_running.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
seed = 8422
1313
np.random.seed(seed)
1414

15-
1615
def parallel_eig(diag, off_diag, nprocs):
1716
print("Spawning a communicator")
1817
comm = MPI.COMM_SELF.Spawn(sys.executable, args=["scripts/run.py"], maxprocs=nprocs)
@@ -88,4 +87,4 @@ def compute_eigvals(A, n_procs):
8887
print(f"The maximum error between real and computed eigenvalues is {max_error}")
8988

9089
if max_error < 1e-8:
91-
print("Pretty small, huh?")
90+
print("Pretty small, huh?")

0 commit comments

Comments
 (0)