Skip to content

Commit

Permalink
lmp: fix evflag initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz committed Jan 11, 2024
1 parent 438bc78 commit 27aeefe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/lmp/pair_deepmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,7 @@ void PairDeepMD::compute(int eflag, int vflag) {
if (numb_models == 0) {
return;
}
if (eflag || vflag) {
ev_setup(eflag, vflag);
}
ev_init(eflag, vflag);
if (vflag_atom) {
error->all(FLERR,
"6-element atomic virial is not supported. Use compute "
Expand Down

0 comments on commit 27aeefe

Please sign in to comment.