aboutsummaryrefslogtreecommitdiffhomepage
path: root/failtest/ldlt_int.cpp
blob: 243e457468cf6e2b50c849a32853b7c6f46b4e72 (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()
{
  LDLT<Matrix<SCALAR,Dynamic,Dynamic> > ldlt(Matrix<SCALAR,Dynamic,Dynamic>::Random(10,10));
}