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