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

This commit is contained in:
sjplimp
2010-11-29 17:57:09 +00:00
parent 3524795784
commit 03869e4781
3 changed files with 7 additions and 8 deletions

View File

@ -524,7 +524,7 @@ void Input::echo()
void Input::ifthenelse()
{
if (narg < 4) error->all("Illegal if command");
if (narg < 3) error->all("Illegal if command");
// substitute for variables in Boolean expression for "if"
// in case expression was enclosed in quotes