forked from lijiext/lammps
fix bug in computing mixed EAM potentials introduced by TI modifications
This commit is contained in:
parent
de446ace2f
commit
5a23d2d1da
|
@ -429,6 +429,7 @@ double PairEAM::init_one(int i, int j)
|
|||
// for funcfl could be multiple files
|
||||
// for setfl or fs, just one file
|
||||
|
||||
if (setflag[i][j] == 0) scale[i][j] = 1.0;
|
||||
scale[j][i] = scale[i][j];
|
||||
|
||||
if (funcfl) {
|
||||
|
|
Loading…
Reference in New Issue