Skip to content

Commit

Permalink
fix duplicate xener_unit_cvt_factor
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi-FanLi committed Sep 10, 2023
1 parent d259c3c commit cf91b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lmp/pair_deepmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ void PairDeepMD::coeff(int narg, char **arg) {
for (int i = ilo; i <= ihi; i++) {
for (int j = MAX(jlo, i); j <= jhi; j++) {
setflag[i][j] = 1;
scale[i][j] = 1.0 * ener_unit_cvt_factor;
scale[i][j] = 1.0;
if (i > numb_types || j > numb_types) {
char warning_msg[1024];
sprintf(warning_msg,
Expand Down

0 comments on commit cf91b8d

Please sign in to comment.