From e1cd920a154d0a90d08db3908233d06b3c91360a Mon Sep 17 00:00:00 2001 From: Gamelin Alexis <gamelin@synchrotron-soleil.fr> Date: Thu, 1 Apr 2021 13:54:14 +0200 Subject: [PATCH] Fix Beam.mpi_share_distributions Typo in the type of data to share for bunch profile. Not sure if there was an effect. --- tracking/particles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracking/particles.py b/tracking/particles.py index 451ee4e..3506db9 100644 --- a/tracking/particles.py +++ b/tracking/particles.py @@ -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 -- GitLab