mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-16 11:23:14 +08:00
oops forgot important parentheses
This commit is contained in:
parent
06fd84cdb1
commit
3de311f497
@ -118,7 +118,7 @@ struct ei_traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
|
|||||||
};
|
};
|
||||||
|
|
||||||
template<typename T, int Rows, int Cols, int Options,
|
template<typename T, int Rows, int Cols, int Options,
|
||||||
bool NeedsToAlign = (Options&Matrix_AutoAlign == Matrix_AutoAlign) && Rows!=Dynamic && Cols!=Dynamic && ((sizeof(T)*Rows*Cols)%16==0)>
|
bool NeedsToAlign = ((Options&Matrix_AutoAlign) == Matrix_AutoAlign) && Rows!=Dynamic && Cols!=Dynamic && ((sizeof(T)*Rows*Cols)%16==0)>
|
||||||
struct ei_matrix_with_aligned_operator_new : WithAlignedOperatorNew {};
|
struct ei_matrix_with_aligned_operator_new : WithAlignedOperatorNew {};
|
||||||
|
|
||||||
template<typename T, int Rows, int Cols, int Options>
|
template<typename T, int Rows, int Cols, int Options>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user