Merge branch 'pair_kim_fix' of https://github.com/ellio167/lammps into collected-small-changes

This commit is contained in:
Axel Kohlmeyer 2019-04-05 11:39:19 -04:00
commit 05993a79b8
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ void PairKIM::init_style()
for (int i = 0; i < kim_number_of_neighbor_lists; ++i)
{
lmps_stripped_neigh_ptr[i]
= &(lmps_stripped_neigh_list[(i-1)*(neighbor->oneatom)]);
= &(lmps_stripped_neigh_list[i*(neighbor->oneatom)]);
}
}