Skip to content
Snippets Groups Projects
Commit e1cd920a authored by Gamelin Alexis's avatar Gamelin Alexis
Browse files

Fix Beam.mpi_share_distributions

Typo in the type of data to share for bunch profile. Not sure if there was an effect.
parent 82dbcc29
Branches
Tags
No related merge requests found
......@@ -692,7 +692,7 @@ class Beam:
self.mpi.comm.Allgather([center, MPI.DOUBLE], [self.mpi.center_all, MPI.DOUBLE])
self.mpi.profile_all = np.empty((len(self), len(profile)), dtype=np.int64)
self.mpi.comm.Allgather([profile, MPI.DOUBLE], [self.mpi.profile_all, MPI.INT64_T])
self.mpi.comm.Allgather([profile, MPI.INT64_T], [self.mpi.profile_all, MPI.INT64_T])
charge_per_mp_all = self.mpi.comm.allgather(bunch.charge_per_mp)
self.mpi.charge_per_mp_all = charge_per_mp_all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment