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
Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git]
/
ground
/
gcs
/
src
/
libs
/
eigen
/
failtest
/
ref_3.cpp
blob
f46027d48e073eeafc0a7a1aadf62357becb6264
1
#include
"../Eigen/Core"
2
3
using namespace
Eigen
;
4
5
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
6
void
call_ref
(
Ref
<
VectorXf
>
a
) { }
7
#else
8
void
call_ref
(
const
Ref
<
const
VectorXf
> &
a
) { }
9
#endif
10
11
int
main
()
12
{
13
VectorXf
a
(
10
);
14
call_ref
(
a
+
a
);
15
}