diff --git a/src/collider/src/collider.cpp b/src/collider/src/collider.cpp index 02c1c35bb..4561cd84e 100644 --- a/src/collider/src/collider.cpp +++ b/src/collider/src/collider.cpp @@ -349,7 +349,8 @@ void Collider::UpdateBoxes(const VecView& leafBB) { // copy in leaf node Boxes auto leaves = StridedRange(nodeBBox_.begin(), nodeBBox_.end(), 2); auto policy = autoPolicy(NumInternal()); - copy(policy, leafBB.cbegin(), leafBB.cend(), leaves.begin()); + // FIXME: use normal copy after we get rid of thrust + std::copy(leafBB.cbegin(), leafBB.cend(), leaves.begin()); // create global counters Vec counter(NumInternal(), 0); // kernel over leaves to save internal Boxes