Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors from new cpplint.py #633

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/CurrentManager/src/CurrentManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <algorithm>
#include <limits>
#include <stdexcept>
#include <vector>

CurrentManager::CurrentManager(std::span<const double> currentTolerances,
double maxCurrent)
Expand Down
1 change: 1 addition & 0 deletions include/sleipnir/util/Print.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#pragma once

#include <cstdio>
#include <print>
#include <system_error>
#include <utility>
Expand Down
1 change: 1 addition & 0 deletions jormungandr/cpp/autodiff/BindVariableBlock.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Sleipnir contributors

#include <format>
#include <string>

#include <nanobind/eigen/dense.h>
#include <nanobind/make_iterator.h>
Expand Down
2 changes: 2 additions & 0 deletions jormungandr/cpp/autodiff/BindVariableMatrix.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Sleipnir contributors

#include <format>
#include <string>
#include <vector>

#include <nanobind/eigen/dense.h>
#include <nanobind/make_iterator.h>
Expand Down
2 changes: 2 additions & 0 deletions jormungandr/cpp/optimization/BindEqualityConstraints.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (c) Sleipnir contributors

#include <vector>

#include <nanobind/nanobind.h>
#include <nanobind/operators.h>
#include <nanobind/stl/vector.h>
Expand Down
2 changes: 2 additions & 0 deletions jormungandr/cpp/optimization/BindInequalityConstraints.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (c) Sleipnir contributors

#include <vector>

#include <nanobind/nanobind.h>
#include <nanobind/operators.h>
#include <nanobind/stl/vector.h>
Expand Down
2 changes: 2 additions & 0 deletions jormungandr/cpp/optimization/BindOptimizationProblem.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Sleipnir contributors

#include <format>
#include <string>
#include <utility>

#include <nanobind/nanobind.h>
#include <nanobind/stl/function.h>
Expand Down
2 changes: 2 additions & 0 deletions test/src/Range.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include "Range.hpp"

#include <vector>

std::vector<double> Range(double start, double end, double step) {
std::vector<double> ret;

Expand Down
1 change: 1 addition & 0 deletions test/src/control/OCPSolverTest_Flywheel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <cmath>
#include <format>
#include <fstream>
#include <string>

#include <Eigen/Core>
#include <catch2/catch_approx.hpp>
Expand Down
Loading