fix typo reported on lammps-users

This commit is contained in:
Axel Kohlmeyer 2020-09-30 21:24:55 -04:00
parent 77fb2ee311
commit a79a7b2704
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -4252,7 +4252,7 @@ int lammps_find_compute_neighlist(void* handle, char * id, int request) {
}
}
if (compute == nullptr) {
if (compute != nullptr) {
// find neigh list
for (int i = 0; i < lmp->neighbor->nlist; i++) {
NeighList * list = lmp->neighbor->lists[i];