Sign in
eigen
/
mirror
/
454f89af9d6f3525b1df5f9ef9c86df58bf2d4d3
/
.
/
failtest
/
const_qualified_diagonal_method_retval.cpp
blob: f3acba6252a291278b260079bc42bfb07421e7cf [
file
] [
log
] [
blame
]
#include
"../Eigen/Core"
#ifdef
EIGEN_SHOULD_FAIL_TO_BUILD
#define
CV_QUALIFIER
const
#else
#define
CV_QUALIFIER
#endif
using
namespace
Eigen
;
void
foo
(
CV_QUALIFIER
Matrix3d
&
m
)
{
Diagonal
<
Matrix3d
>
b
(
m
.
diagonal
());
}
int
main
()
{}