Skip to content

Commit

Permalink
Fix setting nbatches
Browse files Browse the repository at this point in the history
  • Loading branch information
efaulhaber committed Jun 3, 2023
1 parent bcbf56e commit f20ee7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CellLists.jl
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function set_number_of_batches!(
nbatches = NumberOfBatches(n1, n2)
target = cl.target
@set! target.nbatches = nbatches
return CellListPair{V,N,T,Swap}(cl.ref, cl.target)
return CellListPair{V,N,T,Swap}(cl.ref, target)
end

"""
Expand Down

0 comments on commit f20ee7d

Please sign in to comment.