Got rid of some warnings in the boost-free path
parent
c647257ffd
commit
b30d553042
|
@ -1151,8 +1151,10 @@ TEST(Matrix, Matrix24IsVectorSpace) {
|
|||
}
|
||||
|
||||
TEST(Matrix, RowMajorIsVectorSpace) {
|
||||
#ifdef GTSAM_USE_BOOST_FEATURES
|
||||
typedef Eigen::Matrix<double, 2, 3, Eigen::RowMajor> RowMajor;
|
||||
GTSAM_CONCEPT_ASSERT(IsVectorSpace<RowMajor>);
|
||||
#endif
|
||||
}
|
||||
|
||||
TEST(Matrix, MatrixIsVectorSpace) {
|
||||
|
@ -1164,9 +1166,11 @@ TEST(Matrix, VectorIsVectorSpace) {
|
|||
}
|
||||
|
||||
TEST(Matrix, RowVectorIsVectorSpace) {
|
||||
#ifdef GTSAM_USE_BOOST_FEATURES
|
||||
typedef Eigen::Matrix<double, 1, -1> RowVector;
|
||||
GTSAM_CONCEPT_ASSERT(IsVectorSpace<RowVector>);
|
||||
GTSAM_CONCEPT_ASSERT(IsVectorSpace<Vector5>);
|
||||
#endif
|
||||
}
|
||||
|
||||
//******************************************************************************
|
||||
|
|
|
@ -272,8 +272,10 @@ TEST(Vector, VectorIsVectorSpace) {
|
|||
}
|
||||
|
||||
TEST(Vector, RowVectorIsVectorSpace) {
|
||||
#ifdef GTSAM_USE_BOOST_FEATURES
|
||||
typedef Eigen::Matrix<double,1,-1> RowVector;
|
||||
GTSAM_CONCEPT_ASSERT(IsVectorSpace<RowVector>);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ************************************************************************* */
|
||||
|
|
Loading…
Reference in New Issue