Commit 2ad823ff authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

correct check for identical requests

parent 8d37c89c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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;