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
eigenpy
Commits
90cf65ca
Verified
Commit
90cf65ca
authored
Apr 19, 2022
by
Justin Carpentier
Browse files
test: remove auto
parent
9fc9559b
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/eigen_ref.cpp
View file @
90cf65ca
...
...
@@ -41,7 +41,7 @@ template <typename MatType>
Eigen
::
Ref
<
MatType
>
editBlock
(
Eigen
::
Ref
<
MatType
>
mat
,
Eigen
::
DenseIndex
i
,
Eigen
::
DenseIndex
j
,
Eigen
::
DenseIndex
n
,
Eigen
::
DenseIndex
m
)
{
auto
B
=
mat
.
block
(
i
,
j
,
n
,
m
);
typename
Eigen
::
Ref
<
MatType
>::
BlockXpr
B
=
mat
.
block
(
i
,
j
,
n
,
m
);
Eigen
::
Map
<
VectorXd
>
view
(
B
.
data
(),
B
.
size
());
view
.
setLinSpaced
(
0.
,
(
double
)
view
.
size
()
-
1.
);
return
mat
;
...
...
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