correct check for identical requests

This commit is contained in:
Axel Kohlmeyer
2018-01-16 14:08:18 -05:00
parent 8d37c89cb6
commit 2ad823ffd4

View File

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