Sign in
eigen
/
mirror
/
fd98cc49f1f8ffb8b006399359124671ed4818d8
/
.
/
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
}