Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / failtest / sparse_ref_4.cpp
blob57bb6a1fcd019128c000d45cac20ce95b053056d
1 #include "../Eigen/Sparse"
3 using namespace Eigen;
5 void call_ref(Ref<SparseMatrix<float> > a) {}
7 int main()
9 SparseMatrix<float> A(10,10);
10 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
11 call_ref(A.transpose());
12 #else
13 call_ref(A);
14 #endif