git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13103 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -38,9 +38,9 @@ ComputeInertiaChunk::ComputeInertiaChunk(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
// ID of compute chunk/atom
|
||||
|
||||
int n = strlen(arg[6]) + 1;
|
||||
int n = strlen(arg[3]) + 1;
|
||||
idchunk = new char[n];
|
||||
strcpy(idchunk,arg[6]);
|
||||
strcpy(idchunk,arg[3]);
|
||||
|
||||
init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user