From f0aacd0847068b1bcdfbf24639bea9bf7ac76c56 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 18 Aug 2009 17:55:43 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3093 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/pair_soft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pair_soft.cpp b/src/pair_soft.cpp index 2fc0520c3d..92fab52cf6 100644 --- a/src/pair_soft.cpp +++ b/src/pair_soft.cpp @@ -69,7 +69,7 @@ void PairSoft::compute(int eflag, int vflag) // for 0-step dynamics, set to prestart double delta = update->ntimestep - update->beginstep; - if (update->whichflag == 1) delta = 1.0; + if (update->whichflag == 2) delta = 1.0; else if (update->nsteps) delta /= update->endstep - update->beginstep; else delta = 0.0; int ntypes = atom->ntypes;