Skip to content

Commit

Permalink
Change comment style to remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Apr 1, 2024
1 parent b4f6a16 commit 8b54938
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
21 changes: 11 additions & 10 deletions src/geometry/ArborX_DetailsAlgorithms.hpp
Expand Up @@ -286,16 +286,17 @@ struct distance<PointTag, TriangleTag, Point, Triangle>
KOKKOS_FUNCTION static auto closest_point(Point const &p, Point const &a,
Point const &b, Point const &c)
{
// Zones
// \ 2/
// \/
// 5 /\b 6
// / \
// / \
// \ / 0 \ /
// \/a______c\/
// 1 | 4 | 3
// | |
/* Zones
\ 2/
\/
5 /\b 6
/ \
/ \
\ / 0 \ /
\/a______c\/
1 | 4 | 3
| |
*/

Vector ab(a, b);
Vector ac(a, c);
Expand Down
21 changes: 11 additions & 10 deletions test/tstDetailsAlgorithms.cpp
Expand Up @@ -67,16 +67,17 @@ BOOST_AUTO_TEST_CASE(distance_point_triangle)
{
using ArborX::Details::distance;

// Zones
// \ 2/
// \/
// 5 /\ 6
// / \
// / \
// \ / 0 \ /
// \/________\/
// 1 | 4 | 3
// | |
/* Zones
\ 2/
\/
5 /\b 6
/ \
/ \
\ / 0 \ /
\/a______c\/
1 | 4 | 3
| |
*/
using Point2 = ArborX::ExperimentalHyperGeometry::Point<2>;
constexpr ArborX::ExperimentalHyperGeometry::Triangle<2> triangle2{
Point2{-1, 0}, Point2{1, 0}, Point2{0, 1}};
Expand Down

0 comments on commit 8b54938

Please sign in to comment.