Skip to content

Commit ffd2a4b

Browse files
authored
fix(autoware_auto_geometry): fix typo (#4396)
Signed-off-by: kminoda <koji.minoda@tier4.jp>
1 parent 66e0e13 commit ffd2a4b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

common/autoware_auto_geometry/include/geometry/bounding_box/eigenbox_2d.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Covariance2d covariance_2d(const IT begin, const IT end)
9898
/// \param[out] eig_vec1 First eigenvector
9999
/// \param[out] eig_vec2 Second eigenvector
100100
/// \tparam PointT Point type that has at least float members x and y
101-
/// \return A pairt of eigenvalues: The first is the larger eigenvalue
101+
/// \return A pair of eigenvalues: The first is the larger eigenvalue
102102
/// \throw std::runtime error if you would get degenerate covariance
103103
template <typename PointT>
104104
std::pair<float32_t, float32_t> eig_2d(

common/autoware_auto_geometry/test/include/test_bounding_box.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ TYPED_TEST(BoxTest, Line3)
336336
/_/ <-- first guess is suboptimal
337337
338338
*/
339-
TYPED_TEST(BoxTest, SuboptInit)
339+
TYPED_TEST(BoxTest, SuboptimalInit)
340340
{
341341
this->points.insert(
342342
this->points.begin(),

common/autoware_auto_geometry/test/include/test_spatial_hash.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ TYPED_TEST(TypedSpatialHashTest, Oob)
145145
// loop through all points
146146
float32_t r = dr + this->EPS;
147147
const uint32_t n_pts = PTS_PER_RING;
148-
const auto & nbrs = hash.near(this->ref, r);
148+
const auto & neighbors = hash.near(this->ref, r);
149149
uint32_t points_seen = 0U;
150-
for (const auto itd : nbrs) {
150+
for (const auto itd : neighbors) {
151151
const PointT & pt = itd;
152152
const float32_t dist = sqrtf((pt.x * pt.x) + (pt.y * pt.y));
153153
ASSERT_LT(dist, r);

common/autoware_auto_geometry/test/src/test_convex_hull.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ TYPED_TEST(TypedConvexHullTest, Quadrilateral)
139139
}
140140

141141
// test that things get reordered to ccw
142-
TYPED_TEST(TypedConvexHullTest, Quadhull)
142+
TYPED_TEST(TypedConvexHullTest, QuadHull)
143143
{
144144
std::vector<TypeParam> data(
145145
{this->make(1, 1, 1), this->make(5, 1, 2), this->make(2, 6, 3), this->make(3, 3, 4),

common/autoware_auto_geometry/test/src/test_hull_pockets.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ TYPED_TEST(TypedHullPocketsTest, Box)
110110
// | |
111111
// +------------------------------+
112112
// This should come up with a single box on the top left.
113-
TYPED_TEST(TypedHullPocketsTest, Ushape)
113+
TYPED_TEST(TypedHullPocketsTest, UShape)
114114
{
115115
const auto polygon = std::vector<decltype(this->make(0, 0, 0))>{
116116
this->make(0, 0, 0), this->make(5, 0, 0), this->make(5, 4.5, 0), this->make(4, 5, 0),

0 commit comments

Comments
 (0)