Skip to content

Commit

Permalink
fixed order of cell list update
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Mar 23, 2022
1 parent 73768e9 commit 8dc716b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CellLists.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1224,9 +1224,9 @@ function UpdateCellList!(
parallel::Bool=true
)
if !cl_pair.swap
target = UpdateCellList!(x,box,cl_pair.target,aux,parallel=parallel)
else
target = UpdateCellList!(y,box,cl_pair.target,aux,parallel=parallel)
else
target = UpdateCellList!(x,box,cl_pair.target,aux,parallel=parallel)
end
cl_pair = CellListPair(ref=cl_pair.ref,target=target,swap=cl_pair.swap)
return cl_pair
Expand Down

2 comments on commit 8dc716b

@lmiq
Copy link
Member Author

@lmiq lmiq commented on 8dc716b Mar 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/57175

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.9 -m "<description of version>" 8dc716b27feac99355d5ec6493424337f37e9a4b
git push origin v0.7.9

Please sign in to comment.