Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / failtest / ternary_2.cpp
bloba46b12b2b95506d42fd9873c75b937d8f1f615d8
1 #include "../Eigen/Core"
3 using namespace Eigen;
5 int main(int argc,char **)
7 VectorXf a(10), b(10);
8 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
9 b = argc>1 ? 2*a : a+a;
10 #else
11 b = argc>1 ? VectorXf(2*a) : VectorXf(a+a);
12 #endif