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

This commit is contained in:
sjplimp
2008-03-21 00:34:03 +00:00
parent 2e8b9cf4b4
commit 903ddfe4a0
4 changed files with 7 additions and 4 deletions

View File

@ -34,7 +34,7 @@ using namespace LAMMPS_NS;
ComputeTempSphere::ComputeTempSphere(LAMMPS *lmp, int narg, char **arg) :
Compute(lmp, narg, arg)
{
if (narg != 3 || narg != 4)
if (narg != 3 && narg != 4)
error->all("Illegal compute temp/sphere command");
scalar_flag = vector_flag = 1;