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