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
Stack Of Tasks
pinocchio
Commits
46c948a9
Verified
Commit
46c948a9
authored
Apr 09, 2021
by
Nicolas Torres
Committed by
Justin Carpentier
Apr 10, 2021
Browse files
add some changes requested in PR related to C++98 compliance
parent
0eb790f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/algorithm/model.hpp
View file @
46c948a9
...
...
@@ -167,7 +167,7 @@ namespace pinocchio
const
std
::
vector
<
JointIndex
>
&
list_of_joints_to_lock
,
const
Eigen
::
MatrixBase
<
ConfigVectorType
>
&
reference_configuration
,
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
reduced_model
,
std
::
vector
<
std
::
reference_wrapper
<
GeometryModel
>
>
&
list_of_reduced_geom_models
);
std
::
vector
<
GeometryModel
>
&
list_of_reduced_geom_models
);
}
// namespace pinocchio
...
...
src/algorithm/model.hxx
View file @
46c948a9
...
...
@@ -502,7 +502,8 @@ namespace pinocchio
buildReducedModel
(
input_model
,
list_of_joints_to_lock
,
reference_configuration
,
reduced_model
);
// for all GeometryModels
for
(
const
GeometryModel
&
input_geom_model
:
list_of_geom_models
)
{
for
(
size_t
gmi
=
0
;
gmi
<
list_of_geom_models
.
size
();
++
gmi
)
{
const
GeometryModel
&
input_geom_model
=
list_of_geom_models
[
gmi
];
GeometryModel
reduced_geom_model
;
// Add all the geometries
...
...
Write
Preview
Markdown
is supported
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