diff options
author | 2020-04-21 09:25:41 -0700 | |
---|---|---|
committer | 2020-04-21 09:25:41 -0700 | |
commit | e6d4e61d00dcde33a68bba8748f6b1d3d3b34902 (patch) | |
tree | 2247864c188c5c577f48c3b7fc79ee4200672c89 /Source/Particles/Sorting/SortingUtils.H | |
parent | 94cfb0340376ed21a92f33cd495363a8c704d0d3 (diff) | |
download | WarpX-e6d4e61d00dcde33a68bba8748f6b1d3d3b34902.tar.gz WarpX-e6d4e61d00dcde33a68bba8748f6b1d3d3b34902.tar.zst WarpX-e6d4e61d00dcde33a68bba8748f6b1d3d3b34902.zip |
This macro needs to be updated due to a recent change in amrex (#935)
Diffstat (limited to 'Source/Particles/Sorting/SortingUtils.H')
-rw-r--r-- | Source/Particles/Sorting/SortingUtils.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/Sorting/SortingUtils.H b/Source/Particles/Sorting/SortingUtils.H index 754acadf2..73eb76305 100644 --- a/Source/Particles/Sorting/SortingUtils.H +++ b/Source/Particles/Sorting/SortingUtils.H @@ -25,7 +25,7 @@ void fillWithConsecutiveIntegers( amrex::Gpu::DeviceVector<long>& v ) // On GPU: Use amrex auto data = v.data(); auto N = v.size(); - AMREX_FOR_1D( N, i, data[i] = i;); + AMREX_FOR_1D( N, i, {data[i] = i;}); #else // On CPU: Use std library std::iota( v.begin(), v.end(), 0L ); |