diff --git a/src/KSPACE/pair_lj_cut_tip4p_long.cpp b/src/KSPACE/pair_lj_cut_tip4p_long.cpp index f0ec607e05..d5d85a6bc4 100644 --- a/src/KSPACE/pair_lj_cut_tip4p_long.cpp +++ b/src/KSPACE/pair_lj_cut_tip4p_long.cpp @@ -557,7 +557,7 @@ void PairLJCutTIP4PLong::read_restart_settings(FILE *fp) ------------------------------------------------------------------------- */ void PairLJCutTIP4PLong::compute_newsite(double *xO, double *xH1, - double *xH2, double *xM) + double *xH2, double *xM) { double delx1 = xH1[0] - xO[0]; double dely1 = xH1[1] - xO[1]; @@ -599,4 +599,3 @@ double PairLJCutTIP4PLong::memory_usage() bytes += 2 * nmax * sizeof(double); return bytes; } - diff --git a/src/input.cpp b/src/input.cpp index edea3342f3..51772ffec2 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -1003,11 +1003,6 @@ void Input::atom_style() if (domain->box_exist) error->all(FLERR,"Atom_style command after simulation box is defined"); atom->create_avec(arg[0],narg-1,&arg[1],lmp->suffix); - - // use grow to initialize atom-based arrays to length 1 - // so that x[0][0] can be referenced even if proc has no atoms - - //atom->avec->grow(1); } /* ---------------------------------------------------------------------- */