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_4.cpp
blob
6c11fa4cbce41af6021e846d0d743da0c4c7fdb7
1
#include
"../Eigen/Core"
2
3
using namespace
Eigen
;
4
5
void
call_ref
(
Ref
<
MatrixXf
,
0
,
OuterStride
<> >
a
) {}
6
7
int
main
()
8
{
9
MatrixXf
A
(
10
,
10
);
10
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
11
call_ref
(
A
.
transpose
());
12
#else
13
call_ref
(
A
);
14
#endif
15
}