Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
eigenpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
eigenpy
Commits
89d7fa02
Verified
Commit
89d7fa02
authored
5 years ago
by
Justin Carpentier
Browse files
Options
Downloads
Patches
Plain Diff
core: minor clean
parent
c76bbd20
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/eigenpy/map.hpp
+0
-2
0 additions, 2 deletions
include/eigenpy/map.hpp
include/eigenpy/ref.hpp
+2
-1
2 additions, 1 deletion
include/eigenpy/ref.hpp
with
2 additions
and
3 deletions
include/eigenpy/map.hpp
+
0
−
2
View file @
89d7fa02
...
@@ -55,8 +55,6 @@ namespace eigenpy
...
@@ -55,8 +55,6 @@ namespace eigenpy
const
int
stride2
=
(
int
)
PyArray_STRIDE
(
pyArray
,
1
)
/
(
int
)
itemsize
;
const
int
stride2
=
(
int
)
PyArray_STRIDE
(
pyArray
,
1
)
/
(
int
)
itemsize
;
Stride
stride
(
stride2
,
stride1
);
Stride
stride
(
stride2
,
stride1
);
if
(
(
MatType
::
RowsAtCompileTime
!=
R
)
if
(
(
MatType
::
RowsAtCompileTime
!=
R
)
&&
(
MatType
::
RowsAtCompileTime
!=
Eigen
::
Dynamic
)
)
&&
(
MatType
::
RowsAtCompileTime
!=
Eigen
::
Dynamic
)
)
{
throw
eigenpy
::
Exception
(
"The number of rows does not fit with the matrix type."
);
}
{
throw
eigenpy
::
Exception
(
"The number of rows does not fit with the matrix type."
);
}
...
...
This diff is collapsed.
Click to expand it.
include/eigenpy/ref.hpp
+
2
−
1
View file @
89d7fa02
...
@@ -19,7 +19,8 @@ namespace eigenpy
...
@@ -19,7 +19,8 @@ namespace eigenpy
{
{
template
<
typename
PlainObjectTypeT
>
template
<
typename
PlainObjectTypeT
>
struct
Ref
:
Eigen
::
Ref
<
PlainObjectTypeT
,
EIGENPY_DEFAULT_ALIGNMENT_VALUE
,
typename
StrideType
<
PlainObjectTypeT
>::
type
>
struct
Ref
:
Eigen
::
Ref
<
PlainObjectTypeT
,
EIGENPY_DEFAULT_ALIGNMENT_VALUE
,
typename
StrideType
<
PlainObjectTypeT
>::
type
>
{
{
public:
public:
typedef
Eigen
::
Ref
<
PlainObjectTypeT
,
EIGENPY_DEFAULT_ALIGNMENT_VALUE
,
typename
eigenpy
::
template
StrideType
<
PlainObjectTypeT
>
::
type
>
Base
;
typedef
Eigen
::
Ref
<
PlainObjectTypeT
,
EIGENPY_DEFAULT_ALIGNMENT_VALUE
,
typename
eigenpy
::
template
StrideType
<
PlainObjectTypeT
>
::
type
>
Base
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment