Skip to content

Commit

Permalink
Fixed as pointed out by cpplint
Browse files Browse the repository at this point in the history
Signed-off-by: Shintaro Sakoda <[email protected]>
  • Loading branch information
SakodaShintaro committed Jan 19, 2024
1 parent ffc61e3 commit 2936c9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include <fmt/core.h>

#include <limits>
#include <map>
#include <string>
#include <utility>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class DeviationEvaluator : public rclcpp::Node
{
double lateral;
double long_radius;
Errors() : lateral(0), long_radius(0){};
Errors() : lateral(0), long_radius(0) {}
};

public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// clang-format on
using std::placeholders::_1;

using namespace std::chrono_literals;
using std::chrono_literals::operator""s;

double double_round(const double x, const int n) { return std::round(x * pow(10, n)) / pow(10, n); }

Expand Down

0 comments on commit 2936c9b

Please sign in to comment.