mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-18 14:34:17 +08:00
Fixed a typo in a test and a compilation warning
This commit is contained in:
parent
7a39439904
commit
6799c26cd6
@ -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;
|
||||
}
|
||||
};
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user