From 6f7eabd60ddd6cc733ef7a12071ed54826453d77 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 21 Nov 2012 16:11:34 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9086 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/compute_reduce.cpp | 2 +- src/verlet.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/compute_reduce.cpp b/src/compute_reduce.cpp index 645dbac738..bb750a2ada 100644 --- a/src/compute_reduce.cpp +++ b/src/compute_reduce.cpp @@ -156,7 +156,7 @@ ComputeReduce::ComputeReduce(LAMMPS *lmp, int narg, char **arg) : int col2 = atoi(arg[iarg+2]) - 1; if (col1 < 0 || col1 >= nvalues || col2 < 0 || col2 >= nvalues) error->all(FLERR,"Illegal compute reduce command"); - if (col1 == col2) error->all(FLERR,"Illegal compute reduce command"); + if (col1 == col2) error->all(FLERR,"Illegal compute reduce command"); if (replace[col1] >= 0 || replace[col2] >= 0) error->all(FLERR,"Invalid replace values in compute reduce"); replace[col1] = col2; diff --git a/src/verlet.cpp b/src/verlet.cpp index ad8263d9a8..43a4d69949 100644 --- a/src/verlet.cpp +++ b/src/verlet.cpp @@ -316,12 +316,11 @@ void Verlet::cleanup() /* ---------------------------------------------------------------------- clear force on own & ghost atoms - setup and clear other arrays as needed + clear other arrays as needed ------------------------------------------------------------------------- */ void Verlet::force_clear() { - if (external_force_clear) return; int i; if (external_force_clear) return;