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
45c09616
Verified
Commit
45c09616
authored
2 years ago
by
Justin Carpentier
Browse files
Options
Downloads
Patches
Plain Diff
core: fix c++98 compatibility
parent
bec41cb5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#25950
failed
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/eigenpy/eigen-allocator.hpp
+10
-10
10 additions, 10 deletions
include/eigenpy/eigen-allocator.hpp
include/eigenpy/numpy-map.hpp
+4
-4
4 additions, 4 deletions
include/eigenpy/numpy-map.hpp
with
14 additions
and
14 deletions
include/eigenpy/eigen-allocator.hpp
+
10
−
10
View file @
45c09616
...
...
@@ -171,11 +171,11 @@ template <typename MatType>
struct
eigen_allocator_impl_matrix
;
template
<
typename
MatType
>
struct
eigen_allocator_impl
<
MatType
,
Eigen
::
MatrixBase
<
MatType
>>
struct
eigen_allocator_impl
<
MatType
,
Eigen
::
MatrixBase
<
MatType
>
>
:
eigen_allocator_impl_matrix
<
MatType
>
{};
template
<
typename
MatType
>
struct
eigen_allocator_impl
<
const
MatType
,
const
Eigen
::
MatrixBase
<
MatType
>>
struct
eigen_allocator_impl
<
const
MatType
,
const
Eigen
::
MatrixBase
<
MatType
>
>
:
eigen_allocator_impl_matrix
<
const
MatType
>
{};
template
<
typename
MatType
>
...
...
@@ -308,12 +308,12 @@ template <typename TensorType>
struct
eigen_allocator_impl_tensor
;
template
<
typename
TensorType
>
struct
eigen_allocator_impl
<
TensorType
,
Eigen
::
TensorBase
<
TensorType
>>
struct
eigen_allocator_impl
<
TensorType
,
Eigen
::
TensorBase
<
TensorType
>
>
:
eigen_allocator_impl_tensor
<
TensorType
>
{};
template
<
typename
TensorType
>
struct
eigen_allocator_impl
<
const
TensorType
,
const
Eigen
::
TensorBase
<
TensorType
>>
const
Eigen
::
TensorBase
<
TensorType
>
>
:
eigen_allocator_impl_tensor
<
const
TensorType
>
{};
template
<
typename
TensorType
>
...
...
@@ -471,7 +471,7 @@ inline bool is_arr_layout_compatible_with_mat_type(PyArrayObject *pyArray) {
}
template
<
typename
MatType
,
int
Options
,
typename
Stride
>
struct
eigen_allocator_impl_matrix
<
Eigen
::
Ref
<
MatType
,
Options
,
Stride
>>
{
struct
eigen_allocator_impl_matrix
<
Eigen
::
Ref
<
MatType
,
Options
,
Stride
>
>
{
typedef
Eigen
::
Ref
<
MatType
,
Options
,
Stride
>
RefType
;
typedef
typename
MatType
::
Scalar
Scalar
;
...
...
@@ -532,7 +532,7 @@ struct eigen_allocator_impl_matrix<Eigen::Ref<MatType, Options, Stride>> {
template
<
typename
MatType
,
int
Options
,
typename
Stride
>
struct
eigen_allocator_impl_matrix
<
const
Eigen
::
Ref
<
const
MatType
,
Options
,
Stride
>>
{
const
Eigen
::
Ref
<
const
MatType
,
Options
,
Stride
>
>
{
typedef
const
Eigen
::
Ref
<
const
MatType
,
Options
,
Stride
>
RefType
;
typedef
typename
MatType
::
Scalar
Scalar
;
...
...
@@ -599,14 +599,14 @@ template <typename TensorType, typename TensorRef>
struct
eigen_allocator_impl_tensor_ref
;
template
<
typename
TensorType
>
struct
eigen_allocator_impl_tensor
<
Eigen
::
TensorRef
<
TensorType
>>
struct
eigen_allocator_impl_tensor
<
Eigen
::
TensorRef
<
TensorType
>
>
:
eigen_allocator_impl_tensor_ref
<
TensorType
,
Eigen
::
TensorRef
<
TensorType
>>
{};
Eigen
::
TensorRef
<
TensorType
>
>
{};
template
<
typename
TensorType
>
struct
eigen_allocator_impl_tensor
<
const
Eigen
::
TensorRef
<
const
TensorType
>>
struct
eigen_allocator_impl_tensor
<
const
Eigen
::
TensorRef
<
const
TensorType
>
>
:
eigen_allocator_impl_tensor_ref
<
const
TensorType
,
const
Eigen
::
TensorRef
<
const
TensorType
>>
{};
const
TensorType
,
const
Eigen
::
TensorRef
<
const
TensorType
>
>
{};
template
<
typename
TensorType
,
typename
RefType
>
struct
eigen_allocator_impl_tensor_ref
{
...
...
This diff is collapsed.
Click to expand it.
include/eigenpy/numpy-map.hpp
+
4
−
4
View file @
45c09616
...
...
@@ -24,13 +24,13 @@ struct numpy_map_impl;
template
<
typename
MatType
,
typename
InputScalar
,
int
AlignmentValue
,
typename
Stride
>
struct
numpy_map_impl
<
MatType
,
InputScalar
,
AlignmentValue
,
Stride
,
Eigen
::
MatrixBase
<
MatType
>>
Eigen
::
MatrixBase
<
MatType
>
>
:
numpy_map_impl_matrix
<
MatType
,
InputScalar
,
AlignmentValue
,
Stride
>
{};
template
<
typename
MatType
,
typename
InputScalar
,
int
AlignmentValue
,
typename
Stride
>
struct
numpy_map_impl
<
const
MatType
,
InputScalar
,
AlignmentValue
,
Stride
,
const
Eigen
::
MatrixBase
<
MatType
>>
const
Eigen
::
MatrixBase
<
MatType
>
>
:
numpy_map_impl_matrix
<
const
MatType
,
InputScalar
,
AlignmentValue
,
Stride
>
{};
...
...
@@ -183,13 +183,13 @@ struct numpy_map_impl_tensor;
template
<
typename
TensorType
,
typename
InputScalar
,
int
AlignmentValue
,
typename
Stride
>
struct
numpy_map_impl
<
TensorType
,
InputScalar
,
AlignmentValue
,
Stride
,
Eigen
::
TensorBase
<
TensorType
>>
Eigen
::
TensorBase
<
TensorType
>
>
:
numpy_map_impl_tensor
<
TensorType
,
InputScalar
,
AlignmentValue
,
Stride
>
{};
template
<
typename
TensorType
,
typename
InputScalar
,
int
AlignmentValue
,
typename
Stride
>
struct
numpy_map_impl
<
const
TensorType
,
InputScalar
,
AlignmentValue
,
Stride
,
const
Eigen
::
TensorBase
<
TensorType
>>
const
Eigen
::
TensorBase
<
TensorType
>
>
:
numpy_map_impl_tensor
<
const
TensorType
,
InputScalar
,
AlignmentValue
,
Stride
>
{};
...
...
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