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
268 B

  1. #include "../Eigen/Core"
  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<VectorXf> a) { }
  9. int main()
  10. {
  11. VectorXf a(10);
  12. CV_QUALIFIER VectorXf& ac(a);
  13. call_ref(ac);
  14. }