must reset "eval_in_progress[]" flags to avoid bogus circular dependency errors
This commit is contained in:
@ -879,6 +879,17 @@ void Variable::purge_atomfile()
|
||||
if (style[i] == ATOMFILE) remove(i);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
called by "clear" command to reset all "in_progress" state variables
|
||||
to avoid spurious "variable has circular dependency" issues
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void Variable::clear_in_progress()
|
||||
{
|
||||
for (int i = 0; i < nvar; ++i)
|
||||
eval_in_progress[i] = 0;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
called by python command in input script
|
||||
simply pass input script line args to Python class
|
||||
|
||||
Reference in New Issue
Block a user