fix cut-n-paste bug

This commit is contained in:
Axel Kohlmeyer
2024-09-24 10:56:46 -04:00
parent abb8b5ae45
commit bb0ead0ee3

View File

@ -220,7 +220,7 @@ FixAdapt::FixAdapt(LAMMPS *lmp, int narg, char **arg) :
// allocate angle style arrays:
n = atom->nbondtypes;
n = atom->nangletypes;
for (int m = 0; m < nadapt; ++m)
if (adapt[m].which == ANGLE) memory->create(adapt[m].vector_orig,n+1,"adapt:vector_orig");
}