From f0238cfb6997c4acfc2bd200de7295f3fa36968f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Mar 2019 21:09:10 +0100 Subject: don't index Eigen --- eigen/failtest/sparse_ref_1.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 eigen/failtest/sparse_ref_1.cpp (limited to 'eigen/failtest/sparse_ref_1.cpp') diff --git a/eigen/failtest/sparse_ref_1.cpp b/eigen/failtest/sparse_ref_1.cpp deleted file mode 100644 index d78d1f9..0000000 --- a/eigen/failtest/sparse_ref_1.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "../Eigen/Sparse" - -#ifdef EIGEN_SHOULD_FAIL_TO_BUILD -#define CV_QUALIFIER const -#else -#define CV_QUALIFIER -#endif - -using namespace Eigen; - -void call_ref(Ref > a) { } - -int main() -{ - SparseMatrix a(10,10); - CV_QUALIFIER SparseMatrix& ac(a); - call_ref(ac); -} -- cgit v1.2.3