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.

14 lines
222 B

  1. #include "../Eigen/Core"
  2. using namespace StormEigen;
  3. int main()
  4. {
  5. VectorXf a(10), b(10);
  6. #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
  7. const DenseBase<VectorXf> &ac(a);
  8. #else
  9. DenseBase<VectorXf> &ac(a);
  10. #endif
  11. b.swap(ac);
  12. }