diff --git a/src/geometry/ArborX_DetailsAlgorithms.hpp b/src/geometry/ArborX_DetailsAlgorithms.hpp index 5d6adbe4a..96daf6b8f 100644 --- a/src/geometry/ArborX_DetailsAlgorithms.hpp +++ b/src/geometry/ArborX_DetailsAlgorithms.hpp @@ -286,16 +286,17 @@ struct distance 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); diff --git a/test/tstDetailsAlgorithms.cpp b/test/tstDetailsAlgorithms.cpp index 79bc7302b..8df70e04e 100644 --- a/test/tstDetailsAlgorithms.cpp +++ b/test/tstDetailsAlgorithms.cpp @@ -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}};