Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
d51af7a6af76ff8adef0f5168cdd5d8da4d10080
/
.
/
third_party
/
eigen
/
failtest
/
ref_5.cpp
blob: 846d52795721f9739ac1c0a333a727758edb937d [
file
] [
log
] [
blame
]
#include
"../Eigen/Core"
using
namespace
Eigen
;
void
call_ref
(
Ref
<
VectorXf
>
a
)
{
}
int
main
()
{
VectorXf
a
(
10
);
DenseBase
<
VectorXf
>
&
ac
(
a
);
#ifdef
EIGEN_SHOULD_FAIL_TO_BUILD
call_ref
(
ac
);
#else
call_ref
(
ac
.
derived
());
#endif
}