Skip to content

Commit

Permalink
Bugfix for BVH tree using [email protected] without RAJA
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Quinlan authored and kennyweiss committed Jan 21, 2023
1 parent 1f86e24 commit ac66989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axom/spin/internal/linear_bvh/build_radix_tree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void sort_mcodes(Array<uint32>& mcodes, int32 size, const ArrayView<int32> iter)

std::stable_sort(iter.begin(),
iter.begin() + size,
[=](int32 i1, int32 i2) { return mcodes[i1] < mcodes[i2]; });
[&](int32 i1, int32 i2) { return mcodes[i1] < mcodes[i2]; });

);

Expand Down

0 comments on commit ac66989

Please sign in to comment.