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

This commit is contained in:
sjplimp
2013-09-11 00:05:07 +00:00
parent 0b3c75bf6d
commit e5f4966986

View File

@ -159,6 +159,10 @@ void FixPropertyAtom::read_data_section(char *keyword, int n, char *buf)
int j,m,tagdata;
char *next;
if (atom->map_style == 0)
error->all(FLERR,"Fix property/atom cannot read from data file "
"unless an atom map is defined");
next = strchr(buf,'\n');
*next = '\0';
int nwords = atom->count_words(buf);