From 2a2516693b5d88dd94a6fc2c24673082e722a9c1 Mon Sep 17 00:00:00 2001 From: athomps Date: Sun, 3 Feb 2008 20:34:15 +0000 Subject: [PATCH] Fixed bug in reset() for velocity create loop geom git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1456 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/random_park.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/random_park.cpp b/src/random_park.cpp index 91a97183b5..34baa1aa5c 100644 --- a/src/random_park.cpp +++ b/src/random_park.cpp @@ -133,6 +133,8 @@ void RanPark::reset(int ibase, double *coord) // warm up the RNG for (i = 0; i < 5; i++) uniform(); + + save = 0; } /* ---------------------------------------------------------------------- */