• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "../Eigen/Sparse"
2 
3 using namespace Eigen;
4 
call_ref(Ref<SparseMatrix<float>> a)5 void call_ref(Ref<SparseMatrix<float> > a) { }
6 
main()7 int main()
8 {
9   SparseMatrix<float> A(10,10);
10 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
11   call_ref(A.row(3));
12 #else
13   call_ref(A.col(3));
14 #endif
15 }
16