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

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

using namespace Eigen;

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