Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/core/execution_context/in_place_exec_ctxt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ void InPlaceExecutionContext::ForEachNeighbor(
// Store the search radius to check validity of cache in consecutive use of
// ForEachNeighbor
cached_squared_search_radius_ = squared_radius;
neighbor_cache_.clear();

// Populate the cache and execute the lambda for each neighbor
auto for_each = L2F([&](Agent* agent, real_t squared_distance) {
Expand Down
Loading