Sign in
eigen
/
mirror
/
e52ac76ca354d3957cf6c7bc047ae22705f235a3
/
.
/
failtest
/
ternary_1.cpp
blob: 4f957f49b7de76fddd87dd54d5491a136668648b [
file
] [
log
] [
blame
]
#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
}