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
Humanoid Path Planner
hpp-constraints
Commits
d08a1f07
Commit
d08a1f07
authored
Feb 04, 2022
by
Florent Lamiraux
Browse files
[MatrixBlock] Remove code compiled only in release.
parent
f3dd0444
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/hpp/constraints/matrix-view.hh
View file @
d08a1f07
...
...
@@ -507,13 +507,6 @@ namespace Eigen {
m_nbRows
(
BlockIndex
::
cardinal
(
rows
)),
m_nbCols
(
BlockIndex
::
cardinal
(
cols
)),
m_rows
(
rows
),
m_cols
(
cols
)
{
# ifndef NDEBUG
// test that input is sorted
segments_t
r
(
rows
);
BlockIndex
::
sort
(
r
);
assert
(
r
==
rows
);
segments_t
c
(
cols
);
BlockIndex
::
sort
(
c
);
assert
(
c
==
cols
);
#endif
}
/// Constructor by vectors of segments
...
...
@@ -526,13 +519,6 @@ namespace Eigen {
const
size_type
&
nbCols
,
const
ColIndices_t
&
cols
)
:
m_nbRows
(
nbRows
),
m_nbCols
(
nbCols
),
m_rows
(
rows
),
m_cols
(
cols
)
{
# ifndef NDEBUG
// test that input is sorted
segments_t
r
(
rows
);
BlockIndex
::
sort
(
r
);
assert
(
r
==
rows
);
segments_t
c
(
cols
);
BlockIndex
::
sort
(
c
);
assert
(
c
==
cols
);
#endif
}
/// Constructor of single block
...
...
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