Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
18bed50e
Verified
Commit
18bed50e
authored
Oct 04, 2020
by
Justin Carpentier
Browse files
all: use ! instead of not
parent
cf46d38f
Changes
3
Hide whitespace changes
Inline
Side-by-side
bindings/python/module.cpp
View file @
18bed50e
...
...
@@ -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
();
...
...
src/codegen/code-generator-base.hpp
View file @
18bed50e
...
...
@@ -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"
);
...
...
unittest/casadi-spatial.cpp
View file @
18bed50e
...
...
@@ -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;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment