Verified Commit 18bed50e authored by Justin Carpentier's avatar Justin Carpentier
Browse files

all: use ! instead of not

parent cf46d38f
......@@ -34,9 +34,9 @@ BOOST_PYTHON_MODULE(pinocchio_pywrap)
_PyWarnings_Init();
#endif
if(not register_symbolic_link_to_registered_type<Eigen::Quaterniond>())
if(! register_symbolic_link_to_registered_type<Eigen::Quaterniond>())
eigenpy::exposeQuaternion();
if(not register_symbolic_link_to_registered_type<Eigen::AngleAxisd>())
if(! register_symbolic_link_to_registered_type<Eigen::AngleAxisd>())
eigenpy::exposeAngleAxis();
StdContainerFromPythonList< std::vector<std::string> >::register_converter();
......
......@@ -101,7 +101,7 @@ namespace pinocchio
void loadLib(const bool generate_if_not_exist = true)
{
if(not existLib() && generate_if_not_exist)
if(!existLib() && generate_if_not_exist)
compileLib();
const auto it = dynamicLibManager_ptr->getOptions().find("dlOpenMode");
......
......@@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE(test_quaternion)
quat_value.coeffs() = Eigen::Map<Eigen::Vector4d>(static_cast< std::vector<double> >(quat_res).data());
BOOST_CHECK(pinocchio::quaternion::defineSameRotation(quat_value,quat_ref));
// if(not quat_value.coeffs().isApprox(quat_ref.coeffs()))
// if(! quat_value.coeffs().isApprox(quat_ref.coeffs()))
// {
// std::cout << "quat_value: " << quat_value.coeffs().transpose() << std::endl;
// std::cout << "quat_ref: " << quat_ref.coeffs().transpose() << std::endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment