use ioffset variable.

This commit is contained in:
Axel Kohlmeyer
2025-04-25 11:44:03 -04:00
parent 8e07d48518
commit 43fcf6eccc

View File

@ -78,8 +78,8 @@ DumpCustom::DumpCustom(LAMMPS *lmp, int narg, char **arg) :
int ioffset = 5; int ioffset = 5;
expand = 0; expand = 0;
nfield = nargnew = utils::expand_args(FLERR,narg-5,&arg[5],1,earg,lmp); nfield = nargnew = utils::expand_args(FLERR,narg-ioffset,&arg[ioffset],1,earg,lmp);
if (earg != &arg[5]) expand = 1; if (earg != &arg[ioffset]) expand = 1;
// allocate field vectors // allocate field vectors