Unverified Commit 89f0116e authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

fix communication data conversion bug corrupting bond list

parent d37e943e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ void ResetIDs::command(int narg, char **arg)
        for (j = 0; j < num_bond[i]; j++) {
          oldID = bond_atom[i][j];
          m = atom->map(oldID);
          if (m >= 0) bond_atom[i][j] = static_cast<tagint> (newIDs[m][0]);
          if (m >= 0) bond_atom[i][j] = (tagint) ubuf(newIDs[m][0]).i;
          else badcount++;
        }
      }