make new warning more gentle

This commit is contained in:
jrgissing
2020-11-27 12:15:31 -05:00
parent fcf5f34a49
commit 8df0ee0dfa

View File

@ -3230,7 +3230,7 @@ void FixBondReact::read(int myrxn)
while (strlen(keyword)) {
if (strcmp(keyword,"InitiatorIDs") == 0 || strcmp(keyword,"BondingIDs") == 0) {
if (strcmp(keyword,"BondingIDs") == 0)
error->warning(FLERR,"Bond/react: The BondingIDs section title has been deprecated. Please use InitiatorIDs instead.");
if (me == 0) error->warning(FLERR,"Bond/react: The BondingIDs section title has been deprecated. Please use InitiatorIDs instead.");
bondflag = 1;
readline(line);
sscanf(line,"%d",&ibonding[myrxn]);