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.

13 lines
230 B

  1. #include "../Eigen/Core"
  2. using namespace StormEigen;
  3. int main(int argc,char **)
  4. {
  5. VectorXf a(10), b(10);
  6. #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
  7. b = argc>1 ? 2*a : a+a;
  8. #else
  9. b = argc>1 ? VectorXf(2*a) : VectorXf(a+a);
  10. #endif
  11. }