This commit is contained in:
Axel Kohlmeyer
2021-09-15 16:46:33 -04:00
parent 3caa066c28
commit 36b3ee32a4
5 changed files with 21 additions and 64 deletions

View File

@ -614,8 +614,7 @@ void Input::substitute(char *&str, char *&str2, int &max, int &max2, int flag)
}
if (value == nullptr)
error->one(FLERR,"Substitution for illegal "
"variable {}",var);
error->one(FLERR,"Substitution for illegal variable {}",var);
// check if storage in str2 needs to be expanded
// re-initialize ptr and ptr2 to the point beyond the variable.