mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-05 17:50:26 +08:00
to ease debugging let's catch invalid template options in Transform
This commit is contained in:
parent
4fbd78d993
commit
ef73265987
@ -608,6 +608,7 @@ protected:
|
|||||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||||
EIGEN_STRONG_INLINE static void check_template_params()
|
EIGEN_STRONG_INLINE static void check_template_params()
|
||||||
{
|
{
|
||||||
|
EIGEN_STATIC_ASSERT((Options & (DontAlign|RowMajor)) == Options, INVALID_MATRIX_TEMPLATE_PARAMETERS)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user