我正在尝试编译为Eigen::JacobiSVD提供的示例,但出现以下错误,
\n/usr/local/include/eigen3/Eigen/src/SVD/JacobiSVD.h: In instantiation of \xe2\x80\x98Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<float, -1, -1>; int QRPreconditioner = 40; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<float, -1, -1>]\xe2\x80\x99:\n/usr/local/include/eigen3/Eigen/src/SVD/JacobiSVD.h:549:14: required from \xe2\x80\x98Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<float, -1, -1>; int QRPreconditioner = 40; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<float, -1, -1>]\xe2\x80\x99\ndemo.cpp:9:55: required from here\n/usr/local/include/eigen3/Eigen/src/SVD/JacobiSVD.h:692:27: error: \xe2\x80\x98struct Eigen::internal::qr_preconditioner_impl<Eigen::Matrix<float, -1, -1>, 40, 0, true>\xe2\x80\x99 has no member named \xe2\x80\x98run\xe2\x80\x99\n m_qr_precond_morecols.run(*this, m_scaledMatrix);\n ~~~~~~~~~~~~~~~~~~~~~~^~~\n/usr/local/include/eigen3/Eigen/src/SVD/JacobiSVD.h:693:27: error: \xe2\x80\x98struct Eigen::internal::qr_preconditioner_impl<Eigen::Matrix<float, -1, -1>, 40, 1, true>\xe2\x80\x99 …Run Code Online (Sandbox Code Playgroud)