mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix the following warning: "comparison between signed and unsigned integer expressions"
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
|
|
||||||
template<typename MatrixType>
|
template<typename MatrixType>
|
||||||
void check_dimension(const MatrixType& ab, const unsigned int rows, const unsigned int cols)
|
void check_dimension(const MatrixType& ab, const int rows, const int cols)
|
||||||
{
|
{
|
||||||
VERIFY_IS_EQUAL(ab.rows(), rows);
|
VERIFY_IS_EQUAL(ab.rows(), rows);
|
||||||
VERIFY_IS_EQUAL(ab.cols(), cols);
|
VERIFY_IS_EQUAL(ab.cols(), cols);
|
||||||
|
|||||||
Reference in New Issue
Block a user