Skip to content

Commit 2ea1fba

Browse files
clang-format
1 parent 1ee6372 commit 2ea1fba

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

cmake

include/sot/core/robot-utils.hh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#undef BOOST_MPL_LIMIT_LIST_SIZE
3333
#endif
3434

35-
3635
#include <boost/property_tree/ptree.hpp>
3736

3837
#ifdef UNDEF_BOOST_MPL_LIMIT_VECTOR_SIZE

src/matrix/operator.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -618,9 +618,9 @@ operator()(const dynamicgraph::sot::MatrixHomogeneous &f,
618618
}
619619

620620
template <>
621-
void Multiplier_FxE__E<double, dynamicgraph::Vector>::operator()(
622-
const double &x, const dynamicgraph::Vector &v,
623-
dynamicgraph::Vector &res) const {
621+
void Multiplier_FxE__E<double, dynamicgraph::Vector>::
622+
operator()(const double &x, const dynamicgraph::Vector &v,
623+
dynamicgraph::Vector &res) const {
624624
res = v;
625625
res *= x;
626626
}
@@ -1100,9 +1100,9 @@ template <typename T> struct Multiplier : public VariadicOpHeader<T, T> {
11001100
};
11011101
template <> void Multiplier<double>::setIdentity(double &res) const { res = 1; }
11021102
template <>
1103-
void Multiplier<MatrixHomogeneous>::operator()(
1104-
const std::vector<const MatrixHomogeneous *> &vs,
1105-
MatrixHomogeneous &res) const {
1103+
void Multiplier<MatrixHomogeneous>::
1104+
operator()(const std::vector<const MatrixHomogeneous *> &vs,
1105+
MatrixHomogeneous &res) const {
11061106
if (vs.size() == 0)
11071107
setIdentity(res);
11081108
else {

src/tools/robot-utils.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include <boost/property_tree/xml_parser.hpp>
2424
#endif
2525

26-
2726
#include <dynamic-graph/factory.h>
2827
#include <iostream>
2928
#include <sot/core/debug.hh>
@@ -114,7 +113,6 @@ void ForceLimits::display(std::ostream &os) const {
114113
os << lower << std::endl;
115114
os << "Upper Limits:" << std::endl;
116115
os << upper << std::endl;
117-
118116
}
119117

120118
/******************** FootUtil ***************************/
@@ -443,8 +441,7 @@ void RobotUtil::display(std::ostream &os) const {
443441
}
444442
os << std::endl;
445443

446-
boost::property_tree::write_xml(os,property_tree_);
447-
444+
boost::property_tree::write_xml(os, property_tree_);
448445
}
449446

450447
void RobotUtil::sendMsg(const std::string &msg, MsgType t,

0 commit comments

Comments
 (0)