Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / failtest / ternary_1.cpp
blobb40bcb0cc2310243d690a32c6e7449d6b7e9d5c8
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;
10 #else
11 b = argc>1 ? 2*a : VectorXf(-a);
12 #endif