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

This commit is contained in:
sjplimp
2008-01-17 17:01:57 +00:00
parent 603894b878
commit 227f28c324
18 changed files with 817 additions and 757 deletions

View File

@ -1094,7 +1094,7 @@ double Variable::eval_tree(Tree *tree, int i)
return exp(eval_tree(tree->left,i));
if (tree->type == LN) {
double arg = eval_tree(tree->left,i);
if (arg <= 0.0) error->all("Log of negative/zero in variable formula");
if (arg <= 0.0) error->all("Log of zero/negative in variable formula");
return log(arg);
}