Skip to content

Commit c938564

Browse files
committed
fix linting
Signed-off-by: Adi Vardi <[email protected]>
1 parent fd515b7 commit c938564

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nav2_mppi_controller/src/trajectory_visualizer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ void TrajectoryVisualizer::add(
118118
sorted_costs.emplace_back(i, trajectories.costs(i));
119119
}
120120
std::sort(sorted_costs.begin(), sorted_costs.end(),
121-
[](const auto & a, const auto & b) { return a.second < b.second; });
121+
[](const auto & a, const auto & b) {return a.second < b.second;});
122122

123-
const float step = 1.0f / static_cast<float>(sorted_costs.size());
123+
const float step = 1.0f / static_cast<float>(sorted_costs.size());
124124
float color_component = 1.0f;
125125
std::map<size_t, float> cost_color_map;
126126
for (const auto & pair : sorted_costs) {

0 commit comments

Comments
 (0)