From ce471ffcdb39c5df0492b3113104085c4878c84d Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 29 Jan 2016 16:31:49 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14518 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/read_data.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/read_data.cpp b/src/read_data.cpp index b0af40140f..5a7484dea8 100644 --- a/src/read_data.cpp +++ b/src/read_data.cpp @@ -653,7 +653,7 @@ void ReadData::command(int narg, char **arg) if (addflag == NONE) atom->deallocate_topology(); atom->avec->grow(atom->nmax); } - + // assign atoms added by this data file to specified group if (groupbit) { @@ -1316,7 +1316,6 @@ void ReadData::dihedrals(int firstpass) "too many dihedrals per atom"); } else atom->dihedral_per_atom = maxall; - atom->dihedral_per_atom = maxall; memory->destroy(count); return; }