Skip to content

Commit

Permalink
Merge pull request #952 from aprokop/fix_warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop authored Sep 21, 2023
2 parents 2d3c687 + 346043e commit 4d6b572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tstQueryTreeCallbackQueryPerThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct IntersectionCallback
template <typename Query, typename Value>
KOKKOS_FUNCTION void operator()(Query const &, Value const &value) const
{
success = (query_index == value.index);
success = (query_index == (int)value.index);
}
};

Expand Down Expand Up @@ -72,7 +72,7 @@ struct OrderedIntersectionCallback
template <typename Query, typename Value>
KOKKOS_FUNCTION auto operator()(Query const &, Value const &value) const
{
success = (query_index == value.index);
success = (query_index == (int)value.index);
return ArborX::CallbackTreeTraversalControl::early_exit;
}
};
Expand Down

0 comments on commit 4d6b572

Please sign in to comment.