repo.or.cz
/
librepilot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git]
/
ground
/
gcs
/
src
/
libs
/
eigen
/
failtest
/
ternary_2.cpp
blob
a46b12b2b95506d42fd9873c75b937d8f1f615d8
1
#include
"../Eigen/Core"
2
3
using namespace
Eigen
;
4
5
int
main
(
int
argc
,
char
**)
6
{
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
13
}