From dffb8b2a8917d5295b4f8d95668e1e6b87c9fe62 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 20 May 2011 20:19:11 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6190 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/atom_vec_sphere.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/atom_vec_sphere.cpp b/src/atom_vec_sphere.cpp index ab53b79c5d..eee68209dd 100644 --- a/src/atom_vec_sphere.cpp +++ b/src/atom_vec_sphere.cpp @@ -374,8 +374,8 @@ int AtomVecSphere::pack_comm_hybrid(int n, int *list, double *buf) m = 0; for (i = 0; i < n; i++) { j = list[i]; - buf[m++] = radius[i]; - buf[m++] = rmass[i]; + buf[m++] = radius[j]; + buf[m++] = rmass[j]; } return m; }