Skip to content

Commit

Permalink
Add unnamed namespace to prevent kcov issue RobotLocomotion#339 (Robo…
Browse files Browse the repository at this point in the history
…tLocomotion#17835)

* Add unnamed namespace to prevent kcov issue RobotLocomotion#339
  • Loading branch information
xuchenhan-tri committed Sep 4, 2022
1 parent 8dff9ef commit 215ee54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions systems/primitives/test/linear_transform_density_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

namespace drake {
namespace systems {
namespace {

const double kEps = std::numeric_limits<double>::epsilon();

template <typename T>
Expand Down Expand Up @@ -410,5 +412,6 @@ GTEST_TEST(LinearTransformDensityTest, CalcDensityGradient) {
Eigen::Vector2d(0.2, 0.5));
}

} // namespace
} // namespace systems
} // namespace drake

0 comments on commit 215ee54

Please sign in to comment.