Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame^] | 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 foo(CV_QUALIFIER Matrix3d &m){ | ||||
12 | Transpose<Matrix3d> b(m.transpose()); | ||||
13 | } | ||||
14 | |||||
15 | int main() {} |