You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
307 B

  1. #include "../Eigen/Sparse"
  2. #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
  3. #define CV_QUALIFIER const
  4. #else
  5. #define CV_QUALIFIER
  6. #endif
  7. using namespace StormEigen;
  8. void call_ref(Ref<SparseMatrix<float> > a) { }
  9. int main()
  10. {
  11. SparseMatrix<float> a(10,10);
  12. CV_QUALIFIER SparseMatrix<float>& ac(a);
  13. call_ref(ac);
  14. }