diff --git a/src/USER-MISC/fix_wall_reflect_stochastic.cpp b/src/USER-MISC/fix_wall_reflect_stochastic.cpp index dc58580d80..18b501c2fc 100644 --- a/src/USER-MISC/fix_wall_reflect_stochastic.cpp +++ b/src/USER-MISC/fix_wall_reflect_stochastic.cpp @@ -198,9 +198,9 @@ FixWallReflectStochastic::~FixWallReflectStochastic() void FixWallReflectStochastic::wall_particle(int m, int which, double coord) { int i, dir, dim, side, sign; - double vsave,factor,timecol,difftest,theta; + double factor,timecol,difftest,theta; - double *rmass; + double *rmass atom->rmass; double *mass = atom->mass; // coord = current position of wall