diff --git a/src/BPM/bond_bpm_rotational.cpp b/src/BPM/bond_bpm_rotational.cpp index cb5518a506..efb84f1709 100644 --- a/src/BPM/bond_bpm_rotational.cpp +++ b/src/BPM/bond_bpm_rotational.cpp @@ -543,7 +543,7 @@ void BondBPMRotational::compute(int eflag, int vflag) // ------------------------------------------------------// MathExtra::scale3(smooth, force1on2); - + if (newton_bond || i1 < nlocal) { f[i1][0] -= force1on2[0]; f[i1][1] -= force1on2[1]; diff --git a/src/RHEO/fix_rheo_pressure.h b/src/RHEO/fix_rheo_pressure.h index ea9aca3169..c15e9b4ddc 100644 --- a/src/RHEO/fix_rheo_pressure.h +++ b/src/RHEO/fix_rheo_pressure.h @@ -42,7 +42,7 @@ class FixRHEOPressure : public Fix { private: double *c_cubic, *csq, *csqinv, *rho0, *rho0inv, *tpower, *pbackground, *gamma; - int *pressure_style; + int *pressure_style, background_flag; class FixRHEO *fix_rheo; };