Sign in
third-party-mirror
/
eigen
/
b3e75719ab61a8a9ed8b2aa50fc22c48ddfa09bd
/
.
/
failtest
/
block_on_const_type_actually_const_0.cpp
blob: 009bebece08e09f94459d1628856ecc42cf4386c [
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
(){
Matrix3f
m
;
Block
<
CV_QUALIFIER
Matrix3f
>(
m
,
0
,
0
,
3
,
3
).
coeffRef
(
0
,
0
)
=
1.0f
;
}
int
main
()
{}