Bug in fix adapt?

In line 223 of fix_adapt.cpp (current development branch) it is written

n = atom->nbondtypes;

should n be about angles something like

n = atom->nangletypes;

Sorry for the unformatted text !

Yes. That is a cut-n-paste bug.

It is now fixed in Collected small changes and fixes by akohlmey · Pull Request #4331 · lammps/lammps · GitHub and First Set of Collected Bug Fixes and Maintenance Updates for 29 August 2024 Stable Release by akohlmey · Pull Request #4327 · lammps/lammps · GitHub

1 Like

Great thanks!