aboutsummaryrefslogtreecommitdiffhomepage
path: root/failtest/llt_int.cpp
blob: cb020650d4c9900be15a4109230178d13086a0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "../Eigen/Cholesky"

#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
#define SCALAR int
#else
#define SCALAR float
#endif

using namespace Eigen;

int main()
{
  LLT<Matrix<SCALAR,Dynamic,Dynamic> > llt(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
}