different bug fix for create_bonds, delete_atoms neigh list issue

This commit is contained in:
Steven J Plimpton
2018-01-16 11:32:37 -07:00
parent e798cdf31f
commit 8d37c89cb6
8 changed files with 44 additions and 44 deletions

View File

@ -152,7 +152,7 @@ int NeighRequest::identical(NeighRequest *other)
if (cutoff != other->cutoff) same = 0;
if (skip != other->skip) same = 0;
if (skip) same = same_skip(other);
if (skip && other->skip) same = same_skip(other);
return same;
}