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
e9b6f3c8
Verified
Commit
e9b6f3c8
authored
Dec 14, 2019
by
Justin Carpentier
Browse files
serialize/tensor: fix types
parent
40eab07e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/serialization/eigen.hpp
View file @
e9b6f3c8
...
...
@@ -85,19 +85,19 @@ namespace boost
#ifdef PINOCCHIO_WITH_EIGEN_TENSOR_MODULE
template
<
class
Archive
,
typename
_IndexType
,
std
::
size_
t
_NumIndices
>
template
<
class
Archive
,
typename
_IndexType
,
in
t
_NumIndices
>
void
save
(
Archive
&
ar
,
const
Eigen
::
DSizes
<
_IndexType
,
_NumIndices
>
&
ds
,
const
unsigned
int
version
)
{
save
(
ar
,
static_cast
<
const
Eigen
::
array
<
_IndexType
,
_NumIndices
>
&>
(
ds
),
version
);
}
template
<
class
Archive
,
typename
_IndexType
,
std
::
size_
t
_NumIndices
>
template
<
class
Archive
,
typename
_IndexType
,
in
t
_NumIndices
>
void
load
(
Archive
&
ar
,
Eigen
::
DSizes
<
_IndexType
,
_NumIndices
>
&
ds
,
const
unsigned
int
version
)
{
load
(
ar
,
static_cast
<
Eigen
::
array
<
_IndexType
,
_NumIndices
>
&>
(
ds
),
version
);
}
template
<
class
Archive
,
typename
_IndexType
,
std
::
size_
t
_NumIndices
>
template
<
class
Archive
,
typename
_IndexType
,
in
t
_NumIndices
>
void
serialize
(
Archive
&
ar
,
Eigen
::
DSizes
<
_IndexType
,
_NumIndices
>
&
ds
,
const
unsigned
int
version
)
{
split_free
(
ar
,
static_cast
<
Eigen
::
array
<
_IndexType
,
_NumIndices
>
&>
(
ds
),
version
);
...
...
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