In file included from testcase.cpp:3: In file included from /usr/include/eigen3/Eigen/SVD:4: In file included from /usr/include/eigen3/Eigen/QR:28: /usr/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h:406:20: warning: comparison of integers of different signs: 'Index' (aka 'unsigned int') and 'int' [-Wsign-compare] eigen_assert(cols<=NumTraits::highest()); ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/eigen3/Eigen/src/Core/util/Macros.h:207:44: note: expanded from macro 'eigen_assert' #define eigen_assert(x) eigen_plain_assert(x) ^ /usr/include/eigen3/Eigen/src/Core/util/Macros.h:177:42: note: expanded from macro 'eigen_plain_assert' #define eigen_plain_assert(x) assert(x) ^ /usr/include/assert.h:87:5: note: expanded from macro 'assert' ((expr) \ ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:231:12: note: in instantiation of member function 'Eigen::ColPivHouseholderQR >::compute' requested here m_qr.compute(m_adjoint); ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:756:29: note: in instantiation of member function 'Eigen::internal::qr_preconditioner_impl, 2, 0, true>::run' requested here if(!m_qr_precond_morecols.run(*this, matrix) && !m_qr_precond_morerows.run(*this, matrix)) ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:567:7: note: in instantiation of member function 'Eigen::JacobiSVD, 2>::compute' requested here compute(matrix, computationOptions); ^ testcase.cpp:14:85: note: in instantiation of member function 'Eigen::JacobiSVD, 2>::JacobiSVD' requested here Eigen::JacobiSVD svd( ^ In file included from testcase.cpp:3: In file included from /usr/include/eigen3/Eigen/SVD:4: In file included from /usr/include/eigen3/Eigen/QR:28: /usr/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h:483:30: warning: comparison of integers of different signs: 'PermIndexType' (aka 'int') and 'Index' (aka 'unsigned int') [-Wsign-compare] for(PermIndexType k = 0; k < m_nonzero_pivots; ++k) ~ ^ ~~~~~~~~~~~~~~~~ In file included from testcase.cpp:3: In file included from /usr/include/eigen3/Eigen/SVD:4: In file included from /usr/include/eigen3/Eigen/QR:10: In file included from /usr/include/eigen3/Eigen/Householder:17: /usr/include/eigen3/Eigen/src/Householder/HouseholderSequence.h:246:33: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] for(Index k = vecs-1; k >= 0; --k) ~ ^ ~ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:234:50: note: in instantiation of function template specialization 'Eigen::HouseholderSequence, Eigen::Matrix, 1>::evalTo, Eigen::Matrix >' requested here if(svd.m_computeFullV) m_qr.householderQ().evalTo(svd.m_matrixV, m_workspace); ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:756:29: note: in instantiation of member function 'Eigen::internal::qr_preconditioner_impl, 2, 0, true>::run' requested here if(!m_qr_precond_morecols.run(*this, matrix) && !m_qr_precond_morerows.run(*this, matrix)) ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:567:7: note: in instantiation of member function 'Eigen::JacobiSVD, 2>::compute' requested here compute(matrix, computationOptions); ^ testcase.cpp:14:85: note: in instantiation of member function 'Eigen::JacobiSVD, 2>::JacobiSVD' requested here Eigen::JacobiSVD svd( ^ In file included from testcase.cpp:3: In file included from /usr/include/eigen3/Eigen/SVD:4: In file included from /usr/include/eigen3/Eigen/QR:10: In file included from /usr/include/eigen3/Eigen/Householder:17: /usr/include/eigen3/Eigen/src/Householder/HouseholderSequence.h:266:33: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] for(Index k = vecs-1; k >= 0; --k) ~ ^ ~ In file included from testcase.cpp:3: In file included from /usr/include/eigen3/Eigen/SVD:4: In file included from /usr/include/eigen3/Eigen/QR:4: In file included from /usr/include/eigen3/Eigen/Core:305: /usr/include/eigen3/Eigen/src/Core/Diagonal.h:78:29: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] { return m_index.value()<0 ? (std::min)(m_matrix.cols(),m_matrix.rows()+m_index.value()) : (std::min)(m_matrix.rows(),m_matrix.cols()-m_index.value()); } ~~~~~~~~~~~~~~~^~ /usr/include/eigen3/Eigen/src/Core/EigenBase.h:44:48: note: in instantiation of member function 'Eigen::Diagonal, 0>::rows' requested here inline Index rows() const { return derived().rows(); } ^ /usr/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h:334:31: note: in instantiation of member function 'Eigen::EigenBase, 0> >::rows' requested here return derived() = Constant(rows(), cols(), val); ^ /usr/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h:627:10: note: in instantiation of member function 'Eigen::DenseBase, 0> >::setConstant' requested here return setConstant(Scalar(1)); ^ /usr/include/eigen3/Eigen/src/Householder/HouseholderSequence.h:244:24: note: in instantiation of member function 'Eigen::DenseBase, 0> >::setOnes' requested here dst.diagonal().setOnes(); ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:234:50: note: in instantiation of function template specialization 'Eigen::HouseholderSequence, Eigen::Matrix, 1>::evalTo, Eigen::Matrix >' requested here if(svd.m_computeFullV) m_qr.householderQ().evalTo(svd.m_matrixV, m_workspace); ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:756:29: note: in instantiation of member function 'Eigen::internal::qr_preconditioner_impl, 2, 0, true>::run' requested here if(!m_qr_precond_morecols.run(*this, matrix) && !m_qr_precond_morerows.run(*this, matrix)) ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:567:7: note: in instantiation of member function 'Eigen::JacobiSVD, 2>::compute' requested here compute(matrix, computationOptions); ^ testcase.cpp:14:85: note: in instantiation of member function 'Eigen::JacobiSVD, 2>::JacobiSVD' requested here Eigen::JacobiSVD svd( ^ In file included from testcase.cpp:3: In file included from /usr/include/eigen3/Eigen/SVD:4: In file included from /usr/include/eigen3/Eigen/QR:10: In file included from /usr/include/eigen3/Eigen/Householder:17: /usr/include/eigen3/Eigen/src/Householder/HouseholderSequence.h:246:33: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] for(Index k = vecs-1; k >= 0; --k) ~ ^ ~ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:178:50: note: in instantiation of function template specialization 'Eigen::HouseholderSequence, Eigen::Matrix, 1>::evalTo, Eigen::Matrix >' requested here if(svd.m_computeFullU) m_qr.householderQ().evalTo(svd.m_matrixU, m_workspace); ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:756:74: note: in instantiation of member function 'Eigen::internal::qr_preconditioner_impl, 2, 1, true>::run' requested here if(!m_qr_precond_morecols.run(*this, matrix) && !m_qr_precond_morerows.run(*this, matrix)) ^ /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:567:7: note: in instantiation of member function 'Eigen::JacobiSVD, 2>::compute' requested here compute(matrix, computationOptions); ^ testcase.cpp:14:85: note: in instantiation of member function 'Eigen::JacobiSVD, 2>::JacobiSVD' requested here Eigen::JacobiSVD svd( ^ In file included from testcase.cpp:3: In file included from /usr/include/eigen3/Eigen/SVD:4: In file included from /usr/include/eigen3/Eigen/QR:10: In file included from /usr/include/eigen3/Eigen/Householder:17: /usr/include/eigen3/Eigen/src/Householder/HouseholderSequence.h:266:33: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] for(Index k = vecs-1; k >= 0; --k) ~ ^ ~ 7 warnings generated.