We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83e2561 commit 7e59fc9Copy full SHA for 7e59fc9
source/pbat/gpu/impl/geometry/SweepAndPrune.cu
@@ -107,9 +107,9 @@ void RunSweepAndPruneTests()
107
aabbs,
108
[nEdges, o = overlaps.Raw()] PBAT_DEVICE(GpuIndex si, GpuIndex sj) mutable {
109
if (si < nEdges and sj >= nEdges)
110
- o.Append(Overlap{si, sj - nEdges});
+ o.Append(OverlapType{si, sj - nEdges});
111
if (si >= nEdges and sj < nEdges)
112
- o.Append(Overlap{sj, si - nEdges});
+ o.Append(OverlapType{sj, si - nEdges});
113
});
114
std::vector<OverlapType> overlapsCpu = overlaps.Get();
115
// Assert
0 commit comments