fix/adapt wildcard bondtypes

This commit is contained in:
jrgissing 2018-05-25 21:18:11 -06:00
parent 1a5144bf37
commit 3ba87e52e9
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ nadapt(0), id_fix_diam(NULL), id_fix_chg(NULL), adapt(NULL)
adapt[nadapt].bparam = new char[n];
adapt[nadapt].bond = NULL;
strcpy(adapt[nadapt].bparam,arg[iarg+2]);
force->bounds(FLERR,arg[iarg+3],atom->ntypes,
force->bounds(FLERR,arg[iarg+3],atom->nbondtypes,
adapt[nadapt].ilo,adapt[nadapt].ihi);
if (strstr(arg[iarg+4],"v_") == arg[iarg+4]) {
n = strlen(&arg[iarg+4][2]) + 1;