forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4044 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
edaa93b351
commit
a551447ab1
|
@ -266,6 +266,7 @@ ComputeReduce::ComputeReduce(LAMMPS *lmp, int narg, char **arg) :
|
|||
error->all("Variable name for compute reduce does not exist");
|
||||
if (input->variable->atomstyle(ivariable) == 0)
|
||||
error->all("Compute reduce variable is not atom-style variable");
|
||||
flavor[i] = PERATOM;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue