summaryrefslogtreecommitdiffhomepage
path: root/eigen/failtest/qr_int.cpp
blob: ce200e818afbaa27dedb838d54e9201ad4d58027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "../Eigen/QR"

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

using namespace Eigen;

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