USER-MEAMC: fix incomplete clearing of ev variables

This commit is contained in:
Sebastian Hütter
2019-03-13 13:46:15 +01:00
parent c3acb3e4ef
commit 3b234c167f

View File

@ -94,8 +94,7 @@ void PairMEAMC::compute(int eflag, int vflag)
int *numneigh_full,**firstneigh_full;
if (eflag || vflag) ev_setup(eflag,vflag);
else evflag = vflag_fdotr = eflag_global = vflag_global =
eflag_atom = vflag_atom = 0;
else ev_unset();
// neighbor list info