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

This commit is contained in:
sjplimp 2013-04-05 14:05:30 +00:00
parent 0be82bdfa0
commit 022e3c1c57
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ void WriteData::write(char *file)
if (natoms) atoms();
if (natoms) velocities();
if (nbonds) bonds();
if (nangles) angles();
if (atom->nbonds && nbonds) bonds();
if (atom->nangles && nangles) angles();
if (atom->ndihedrals) dihedrals();
if (atom->nimpropers) impropers();