Logo white

Peter M. Groen / openbr

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • openbr
  • 3rdparty
  • eigen-eigen-5a0156e40feb
  • failtest
  • ternary_1.cpp
  • updated eigen version
    83d0a685
    Josh Klontz authored
    2017-09-15 15:54:44 -0600  
    Browse Code ยป
ternary_1.cpp 213 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13
#include "../Eigen/Core"

using namespace Eigen;

int main(int argc,char **)
{
  VectorXf a(10), b(10);
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
  b = argc>1 ? 2*a : -a;
#else
  b = argc>1 ? 2*a : VectorXf(-a);
#endif
}