Commit f6c70d6e authored by Peter Eastman's avatar Peter Eastman
Browse files

Bug fix

parent abbb3671
......@@ -266,7 +266,7 @@ void CudaNonbondedUtilities::initialize(const System& system) {
blockSorter = new CudaSort(context, new BlockSortTrait(context.getUseDoublePrecision()), numAtomBlocks);
vector<unsigned int> count(2, 0);
interactionCount.upload(count);
rebuildNeighborList.upload(count);
rebuildNeighborList.upload(&count[0]);
}
// Record arguments for kernels.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment