diff --git a/src/fix_spring_self.cpp b/src/fix_spring_self.cpp index 2ce9542331..457f9dbcc3 100644 --- a/src/fix_spring_self.cpp +++ b/src/fix_spring_self.cpp @@ -165,6 +165,7 @@ void FixSpringSelf::post_force_respa(int vflag, int ilevel, int iloop) double FixSpringSelf::compute_scalar() { + espring *= 0.5; double all; MPI_Allreduce(&espring,&all,1,MPI_DOUBLE,MPI_SUM,world); return all;