remove redundant statement

This commit is contained in:
Axel Kohlmeyer
2018-06-18 16:50:24 -04:00
parent 4c28827aa1
commit 1d0773d10d

View File

@ -75,7 +75,6 @@ void Verlet::init()
torqueflag = extraflag = 0;
if (atom->torque_flag) torqueflag = 1;
if (atom->avec->forceclearflag) extraflag = 1;
if (atom->sp_flag) extraflag = 1;
// orthogonal vs triclinic simulation box
@ -312,7 +311,6 @@ void Verlet::run(int n)
timer->stamp(Timer::PAIR);
}
if (atom->molecular) {
if (force->bond) force->bond->compute(eflag,vflag);
if (force->angle) force->angle->compute(eflag,vflag);