Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / failtest / eigensolver_cplx.cpp
blobc2e21e189bdd261a7d679f000ba3b208ff5da028
1 #include "../Eigen/Eigenvalues"
3 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
4 #define SCALAR std::complex<double>
5 #else
6 #define SCALAR float
7 #endif
9 using namespace Eigen;
11 int main()
13 EigenSolver<Matrix<SCALAR,Dynamic,Dynamic> > eig(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));