Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
efaulhaber committed Nov 12, 2024
1 parent f1a3dd4 commit 06475e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cell_lists/full_grid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ function FullGridCellList(; min_corner, max_corner, search_radius = 0.0,
# Pad domain to avoid 0 in cell indices due to rounding errors.
# We can't just use `eps()`, as one might use lower precision types.
# This padding is safe, and will give us one more layer of cells in the worst case.
min_corner = SVector(Tuple(min_corner .- 1f-3 * search_radius))
max_corner = SVector(Tuple(max_corner .+ 1f-3 * search_radius))
min_corner = SVector(Tuple(min_corner .- 1.0f-3 * search_radius))
max_corner = SVector(Tuple(max_corner .+ 1.0f-3 * search_radius))

if search_radius < eps()
# Create an empty "template" cell list to be used with `copy_cell_list`
Expand Down

0 comments on commit 06475e2

Please sign in to comment.