correct cut-n-paste error

This commit is contained in:
Axel Kohlmeyer
2019-02-17 15:00:04 -05:00
parent a8cee136fe
commit 318dd34737
4 changed files with 4 additions and 4 deletions

View File

@ -1148,7 +1148,7 @@ void AtomVecEllipsoid::data_atom(double *coord, imageint imagetmp,
ellipsoid[nlocal] = atoi(values[2]);
if (ellipsoid[nlocal] == 0) ellipsoid[nlocal] = -1;
else if (ellipsoid[nlocal] == 1) ellipsoid[nlocal] = 0;
else error->one(FLERR,"Invalid atom type in Atoms section of data file");
else error->one(FLERR,"Invalid ellipsoidflag in Atoms section of data file");
rmass[nlocal] = atof(values[3]);
if (rmass[nlocal] <= 0.0)