Skip to content
  • g++ -I../..//tests/.. -isystem /usr/include/eigen3 -g -std=c++17 -MD -MT test_pseudo_inverse.cpp.o -MF test_pseudo_inverse.cpp.o.d -o test_pseudo_inverse.cpp.o -c ../../tests/test_pseudo_inverse.cpp
    In file included from /usr/include/eigen3/Eigen/Core:164,
                     from /usr/include/eigen3/Eigen/Dense:1,
                     from ../../tests/test_pseudo_inverse.cpp:3:
    /usr/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h: In instantiation of ‘static const IdentityReturnType Eigen::MatrixBase<Derived>::Identity() [with Derived = Eigen::Matrix<std::complex<double>, -1, -1>; Eigen::MatrixBase<Derived>::IdentityReturnType = Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<std::complex<double> >, Eigen::Matrix<std::complex<double>, -1, -1> >]’:
    ../../tests/test_pseudo_inverse.cpp:23:51:   required from here
    /usr/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h:801:3: error: static assertion failed: YOU_CALLED_A_FIXED_SIZE_METHOD_ON_A_DYNAMIC_SIZE_MATRIX_OR_VECTOR
      801 |   EIGEN_STATIC_ASSERT_FIXED_SIZE(Derived)
          |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h:801:3: note: ‘(((int)Eigen::Matrix<std::complex<double>, -1, -1>::SizeAtCompileTime) != ((int)Eigen::Dynamic))’ evaluates to false
    
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment