correct offset for parsing optional arguments

This commit is contained in:
Axel Kohlmeyer
2025-06-05 06:25:27 -04:00
parent 3f1944cace
commit e31f864620

View File

@ -115,7 +115,7 @@ FixNeighborSwap::FixNeighborSwap(LAMMPS *lmp, int narg, char **arg) :
// read options from end of input line
options(narg - 8, &arg[8]);
options(narg - 9, &arg[9]);
// random number generator, same for all procs