Skip to content

Commit 89d7fa0

Browse files
committed
core: minor clean
1 parent c76bbd2 commit 89d7fa0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

include/eigenpy/map.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ namespace eigenpy
5555
const int stride2 = (int)PyArray_STRIDE(pyArray, 1) / (int)itemsize;
5656
Stride stride(stride2,stride1);
5757

58-
59-
6058
if( (MatType::RowsAtCompileTime!=R)
6159
&& (MatType::RowsAtCompileTime!=Eigen::Dynamic) )
6260
{ throw eigenpy::Exception("The number of rows does not fit with the matrix type."); }

include/eigenpy/ref.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ namespace eigenpy
1919
{
2020

2121
template<typename PlainObjectTypeT>
22-
struct Ref : Eigen::Ref<PlainObjectTypeT,EIGENPY_DEFAULT_ALIGNMENT_VALUE,typename StrideType<PlainObjectTypeT>::type>
22+
struct Ref
23+
: Eigen::Ref<PlainObjectTypeT,EIGENPY_DEFAULT_ALIGNMENT_VALUE,typename StrideType<PlainObjectTypeT>::type>
2324
{
2425
public:
2526
typedef Eigen::Ref<PlainObjectTypeT,EIGENPY_DEFAULT_ALIGNMENT_VALUE,typename eigenpy::template StrideType<PlainObjectTypeT>::type> Base;

0 commit comments

Comments
 (0)