stop with error, if trying to use wildcard for vector-style variable without upper bound

This commit is contained in:
Axel Kohlmeyer
2025-05-20 18:11:28 -04:00
parent a443e6ea5e
commit 21394574ed

View File

@ -1046,6 +1046,9 @@ int utils::expand_args(const char *file, int line, int narg, char **arg, int mod
if (nhi < MAXSMALLINT) {
nmax = nhi;
expandflag = 1;
} else {
lmp->error->all(file, line, ioffset + iarg,
"Upper bound required to expand vector style variable {}", id);
}
}
}