@@ -101,9 +101,9 @@ struct GridNeighborhoodSearch{NDIMS, ELTYPE, PB}
101101 threaded_nhs_update :: Bool
102102
103103 function GridNeighborhoodSearch {NDIMS} (search_radius, n_particles;
104- periodic_box_min_corner= nothing ,
105- periodic_box_max_corner= nothing ,
106- threaded_nhs_update= true ) where {NDIMS}
104+ periodic_box_min_corner = nothing ,
105+ periodic_box_max_corner = nothing ,
106+ threaded_nhs_update = true ) where {NDIMS}
107107 ELTYPE = typeof (search_radius)
108108
109109 hashtable = Dict {NTuple{NDIMS, Int}, Vector{Int}} ()
@@ -385,8 +385,8 @@ function z_index_sort!(coordinates, system)
385385 (; mass, pressure, neighborhood_search) = system
386386
387387 perm = sortperm (eachparticle (system),
388- by= (i -> cell_z_index (extract_svector (coordinates, system, i),
389- neighborhood_search)))
388+ by = (i -> cell_z_index (extract_svector (coordinates, system, i),
389+ neighborhood_search)))
390390
391391 permute! (mass, perm)
392392 permute! (pressure, perm)
@@ -407,8 +407,8 @@ function copy_neighborhood_search(nhs::GridNeighborhoodSearch, search_radius, u)
407407 search = GridNeighborhoodSearch {ndims(nhs)} (search_radius, nparticles (nhs))
408408 else
409409 search = GridNeighborhoodSearch {ndims(nhs)} (search_radius, nparticles (nhs),
410- periodic_box_min_corner= nhs. periodic_box. min_corner,
411- periodic_box_max_corner= nhs. periodic_box. max_corner)
410+ periodic_box_min_corner = nhs. periodic_box. min_corner,
411+ periodic_box_max_corner = nhs. periodic_box. max_corner)
412412 end
413413
414414 # Initialize neighborhood search
0 commit comments