diff --git a/src/min.cpp b/src/min.cpp index 0df114edaf..f380a103d5 100644 --- a/src/min.cpp +++ b/src/min.cpp @@ -66,6 +66,8 @@ Min::Min(LAMMPS *lmp) : Pointers(lmp) extra_peratom = extra_nlen = NULL; extra_max = NULL; requestor = NULL; + + external_force_clear = 0; } /* ---------------------------------------------------------------------- */ diff --git a/src/pair_table.cpp b/src/pair_table.cpp index 40530b1638..c27c667abc 100644 --- a/src/pair_table.cpp +++ b/src/pair_table.cpp @@ -273,7 +273,8 @@ void PairTable::coeff(int narg, char **arg) rlo = tb->rlo; rhi = tb->rhi; } - if (tb->cut <= rlo || tb->cut > rhi) error->all(FLERR,"Invalid pair table cutoff"); + if (tb->cut <= rlo || tb->cut > rhi) + error->all(FLERR,"Invalid pair table cutoff"); if (rlo <= 0.0) error->all(FLERR,"Invalid pair table cutoff"); // match = 1 if don't need to spline read-in tables