Commit 3b234c16 authored by Sebastian Hütter's avatar Sebastian Hütter
Browse files

USER-MEAMC: fix incomplete clearing of ev variables

parent c3acb3e4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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