Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/nhs_grid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function initialize_grid!(neighborhood_search::GridNeighborhoodSearch, y::Abstra
return neighborhood_search
end

@boundscheck checkbounds(y, eachindex_y)
@boundscheck checkbounds(y, ndims(neighborhood_search), eachindex_y)

# Ignore the parallelization backend here. This cannot be parallelized.
for point in eachindex_y
Expand Down