fix small bug in pair style extep

This commit is contained in:
Axel Kohlmeyer 2020-01-22 11:25:13 -05:00
parent b29ffabe56
commit 0623859f36
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 2 additions and 2 deletions

View File

@ -719,8 +719,8 @@ void PairExTeP::read_file(char *file)
words = new char*[params_per_line+1];
// intialize F_corr_data to all zeros
for (int iel=0;iel<atom->ntypes;iel++)
for (int jel=0;jel<atom->ntypes;jel++)
for (int iel=0;iel<nelements;iel++)
for (int jel=0;jel<nelements;jel++)
for (int in=0;in<4;in++)
for (int jn=0;jn<4;jn++)
for (int ivar=0;ivar<3;ivar++)