clean up
This commit is contained in:
@ -1671,10 +1671,6 @@ double Variable::evaluate(char *str, Tree **tree, int ivar)
|
|||||||
compute->compute_array();
|
compute->compute_array();
|
||||||
compute->invoked_flag |= Compute::INVOKED_ARRAY;
|
compute->invoked_flag |= Compute::INVOKED_ARRAY;
|
||||||
}
|
}
|
||||||
// wait until after compute invocation to check size_array_rows
|
|
||||||
// b/c may be zero until after initial invocation
|
|
||||||
if (compute->size_array_rows == 0)
|
|
||||||
print_var_error(FLERR,"Variable formula compute array is zero length",ivar);
|
|
||||||
|
|
||||||
// wait to check row count until after compute invocation
|
// wait to check row count until after compute invocation
|
||||||
// to allow for computes with size_array_rows_variable == 1
|
// to allow for computes with size_array_rows_variable == 1
|
||||||
|
|||||||
Reference in New Issue
Block a user