From 181c77d346ac6946afb91e88cceae5c8be212d30 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 8 Nov 2011 14:51:25 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7222 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/min.cpp | 2 ++ src/pair_table.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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