Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gabriele Buondonno
pinocchio
Commits
9deaf4b4
Commit
9deaf4b4
authored
Oct 02, 2017
by
jcarpent
Browse files
[Joints] Fix potential bug with old version of GCC when using block selector
parent
db2f658d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/joint/joint-spherical-ZYX.hpp
View file @
9deaf4b4
...
...
@@ -257,14 +257,14 @@ namespace se3
operator
*
(
const
typename
InertiaTpl
<
_Scalar
,
_Options
>::
Matrix6
&
Y
,
const
typename
JointSphericalZYXTpl
<
_Scalar
,
_Options
>::
ConstraintRotationalSubspace
&
S
)
{
return
Y
.
template
block
<
6
,
3
>
(
0
,
Inertia
::
ANGULAR
,
0
,
3
)
*
S
.
S_minimal
;
return
Y
.
template
middleCols
<
3
>(
Inertia
::
ANGULAR
)
*
S
.
S_minimal
;
}
inline
Eigen
::
Matrix
<
double
,
6
,
3
>
operator
*
(
const
Inertia
::
Matrix6
&
Y
,
const
JointSphericalZYX
::
ConstraintRotationalSubspace
&
S
)
{
return
Y
.
block
<
6
,
3
>
(
0
,
Inertia
::
ANGULAR
,
0
,
3
)
*
S
.
S_minimal
;
return
Y
.
middleCols
<
3
>
(
Inertia
::
ANGULAR
)
*
S
.
S_minimal
;
}
namespace
internal
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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