USER-MEAMC: fix incomplete clearing of ev variables
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user