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

Remove redundant semicolons #672

Merged
merged 3 commits into from
Feb 13, 2019
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ If you want to follow the current developments, you can directly refer to the [d

## Examples

We provide some basic examples on how to use **Pinocchio** in Python in the [examples/python](./examples/python/README.md) directory.
We provide some basic examples on how to use **Pinocchio** in Python in the [examples/python](./examples/python) directory.

## Tutorials

Expand Down
2 changes: 1 addition & 1 deletion src/multibody/joint/joint-revolute-unbounded.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ namespace pinocchio
{
calc(data,qs.derived());

data.v.w = (Scalar)vs[idx_v()];;
data.v.w = (Scalar)vs[idx_v()];
}

template<typename Matrix6Like>
Expand Down
2 changes: 1 addition & 1 deletion src/multibody/joint/joint-revolute.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ namespace pinocchio
{
calc(data,qs.derived());

data.v.w = (Scalar)vs[idx_v()];;
data.v.w = (Scalar)vs[idx_v()];
}

template<typename Matrix6Like>
Expand Down
2 changes: 1 addition & 1 deletion src/multibody/liegroup/vector-space.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace pinocchio

ConfigVector_t neutral () const
{
return ConfigVector_t::Zero(size_.value());;
return ConfigVector_t::Zero(size_.value());
}

std::string name () const
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ namespace se3
}

Model::JointIndex parent_id;
SE3 fixed_placement_offset (SE3::Identity());;
SE3 fixed_placement_offset (SE3::Identity());

if (body_table_id_map.find (parent_name) != body_table_id_map.end ())
{
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/lua/lua_tables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ void bail(lua_State * L, const char *msg)

void stack_print (const char *file, int line, lua_State * L)
{
cout << file << ":" << line << ": stack size: " << lua_gettop(L) << endl;;
cout << file << ":" << line << ": stack size: " << lua_gettop(L) << endl;
for (int i = 1; i < lua_gettop(L) + 1; i++) {
cout << file << ":" << line << ": ";
cout << i << ": ";
Expand Down
2 changes: 1 addition & 1 deletion unittest/cholesky.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ BOOST_AUTO_TEST_CASE ( test_timings )
BOOST_CHECK(Ui_v_unit.isApprox(Ui_v_unit_ref));

// std::cout << "Ui_v_unit : " << Ui_v_unit.transpose() << std::endl;
// std::cout << "Ui_v_unit_ref : " << Ui_v_unit_ref.transpose() << std::endl << std::endl;;
// std::cout << "Ui_v_unit_ref : " << Ui_v_unit_ref.transpose() << std::endl << std::endl;
}

MatrixXd Minv(model.nv,model.nv);
Expand Down
2 changes: 1 addition & 1 deletion unittest/liegroups.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ struct LieGroup_JintegrateCoeffWise
typedef Eigen::Matrix<Scalar,T::NQ,T::NV> JacobianCoeffs;
JacobianCoeffs Jintegrate(JacobianCoeffs::Zero(lg.nq(),lg.nv()));
lg.integrateCoeffWiseJacobian(q,Jintegrate);
JacobianCoeffs Jintegrate_fd(JacobianCoeffs::Zero(lg.nq(),lg.nv()));;
JacobianCoeffs Jintegrate_fd(JacobianCoeffs::Zero(lg.nq(),lg.nv()));

const Scalar eps = 1e-8;
for (int i = 0; i < lg.nv(); ++i)
Expand Down
2 changes: 1 addition & 1 deletion unittest/rnea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ BOOST_AUTO_TEST_CASE(test_compute_gravity)
// }
// BOOST_CHECK(v_fd.isApprox(v));
// std::cout << "drnea_dv:\n" << drnea_dv.block<6,6>(0,0) << std::endl;
// std::cout << "C:\n" << data.C.block<6,6>(0,0) << std::endl;;
// std::cout << "C:\n" << data.C.block<6,6>(0,0) << std::endl;
// }

}
Expand Down
4 changes: 2 additions & 2 deletions unittest/variant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ BOOST_AUTO_TEST_SUITE ( BOOST_TEST_MODULE )

BOOST_AUTO_TEST_CASE ( test_variant )
{
using namespace Eigen;
using namespace se3;;
using namespace Eigen;
using namespace se3;


JointModelVariant jmodel = JointModelRX();
Expand Down