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
eiquadprog
Commits
0048447e
Commit
0048447e
authored
Sep 17, 2019
by
Gabriele Buondonno
Browse files
[eiquadprog-rt] Remove autoalign
parent
cb676036
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/eiquadprog/eiquadprog-rt.hpp
View file @
0048447e
...
...
@@ -59,7 +59,10 @@ template<int Rows, int Cols>
struct
RtMatrixX
{
// typedef Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::AutoAlign, Rows, Cols> d;
typedef
Eigen
::
Matrix
<
double
,
Rows
,
Cols
,
Eigen
::
AutoAlign
>
d
;
//
// FIXME: Eigen::AutoAlign does not work with single-row matrices
// typedef Eigen::Matrix<double, Rows, Cols, Eigen::AutoAlign> d;
typedef
Eigen
::
Matrix
<
double
,
Rows
,
Cols
>
d
;
};
template
<
int
Rows
>
...
...
@@ -67,8 +70,12 @@ struct RtVectorX
{
// typedef Eigen::Matrix<double, Eigen::Dynamic, 1, Eigen::AutoAlign, Rows, 1> d;
// typedef Eigen::Matrix<int, Eigen::Dynamic, 1, Eigen::AutoAlign, Rows, 1> i;
typedef
Eigen
::
Matrix
<
double
,
Rows
,
1
,
Eigen
::
AutoAlign
>
d
;
typedef
Eigen
::
Matrix
<
int
,
Rows
,
1
,
Eigen
::
AutoAlign
>
i
;
// FIXME: Eigen::AutoAlign does not work with single-row matrices
// typedef Eigen::Matrix<double, Rows, 1, Eigen::AutoAlign> d;
// typedef Eigen::Matrix<int, Rows, 1, Eigen::AutoAlign> i;
typedef
Eigen
::
Matrix
<
double
,
Rows
,
1
>
d
;
typedef
Eigen
::
Matrix
<
int
,
Rows
,
1
>
i
;
};
namespace
eiquadprog
...
...
Write
Preview
Supports
Markdown
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