Fixed a typo in a test and a compilation warning

This commit is contained in:
Benoit Steiner 2015-07-17 16:50:47 -07:00
parent 7a39439904
commit 6799c26cd6
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ template <std::size_t n, std::size_t V1, std::size_t V2, std::size_t V3, std::si
template <typename Dims1, typename Dims2, size_t n, size_t m>
struct sizes_match_up_to_dim {
static inline bool run(Dims1& dims1, Dims2& dims2) {
static inline bool run(Dims1&, Dims2&) {
return false;
}
};

View File

@ -46,7 +46,7 @@ static void test_match()
Eigen::DSizes<int, 3> dyn1(2,3,7);
Eigen::DSizes<int, 2> dyn2(2,3);
VERIFY_IS_EQUAL(Eigen::dimensions_match(dyn, stat), false);
VERIFY_IS_EQUAL(Eigen::dimensions_match(dyn1, dyn2), false);
}