Skip to content

Commit

Permalink
use serial bin policy in initialization, too
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Jan 19, 2024
1 parent 4a408fe commit afffd94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Initialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ namespace Initialization

auto binner = GetParticleBin{plo, dxi, domain, bin_size, box};
if (bins.numBins() < 0) {
bins.build(np, pstruct_ptr, ntiles, binner);
bins.build(BinPolicy::Serial, np, pstruct_ptr, ntiles, binner);
}
auto inds = bins.permutationPtr();
auto offsets = bins.offsetsPtr();
Expand Down

0 comments on commit afffd94

Please sign in to comment.