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

This commit is contained in:
sjplimp 2011-08-17 20:20:44 +00:00
parent a33e03dd16
commit c30f2bcbc6
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ int Modify::min_reset_ref()
void Modify::add_fix(int narg, char **arg, char *suffix)
{
if (domain->box_exist == 0)
if (domain->box_exist == 0 && allow_early_fix == 0)
error->all("Fix command before simulation box is defined");
if (narg < 3) error->all("Illegal fix command");