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

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