From 85bc9911b87f3aca27e3118b77e67756be2541ca Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 24 Sep 2021 16:57:06 -0400 Subject: [PATCH] use proper integer type for atom IDs --- src/MSCG/fix_mscg.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/MSCG/fix_mscg.cpp b/src/MSCG/fix_mscg.cpp index d41299e3b2..15b288dc36 100644 --- a/src/MSCG/fix_mscg.cpp +++ b/src/MSCG/fix_mscg.cpp @@ -144,14 +144,14 @@ void FixMSCG::post_constructor() tagint *tag = atom->tag; int *type = atom->type; int *num_bond = atom->num_bond; - int **bond_atom = atom->bond_atom; + tagint **bond_atom = atom->bond_atom; int *num_angle = atom->num_angle; - int **angle_atom1 = atom->angle_atom1; - int **angle_atom3 = atom->angle_atom3; + tagint **angle_atom1 = atom->angle_atom1; + tagint **angle_atom3 = atom->angle_atom3; int *num_dihedral = atom->num_dihedral; - int **dihedral_atom1 = atom->dihedral_atom1; - int **dihedral_atom3 = atom->dihedral_atom3; - int **dihedral_atom4 = atom->dihedral_atom4; + tagint **dihedral_atom1 = atom->dihedral_atom1; + tagint **dihedral_atom3 = atom->dihedral_atom3; + tagint **dihedral_atom4 = atom->dihedral_atom4; double *prd_half = domain->prd_half; int i,ii,j,jj,jnum,k,l;