git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11577 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2014-02-26 15:13:05 +00:00
parent 6e4e17769e
commit cde0125c90
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ void Molecule::compute_mass()
masstotal = 0.0;
for (int i = 0; i < natoms; i++) {
if (rmassflag) masstotal += rmass[i];
else masstotal += atom->type[type[i]];
else masstotal += atom->mass[type[i]];
}
}