repo.or.cz
/
librepilot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git]
/
ground
/
gcs
/
src
/
libs
/
eigen
/
failtest
/
ref_1.cpp
blob
8b798d53d41e3205badb7a9746438426dfbaa3eb
1
#include
"../Eigen/Core"
2
3
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
4
#define CV_QUALIFIER const
5
#else
6
#define CV_QUALIFIER
7
#endif
8
9
using namespace
Eigen
;
10
11
void
call_ref
(
Ref
<
VectorXf
>
a
) { }
12
13
int
main
()
14
{
15
VectorXf
a
(
10
);
16
CV_QUALIFIER VectorXf
&
ac
(
a
);
17
call_ref
(
ac
);
18
}