We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f065b8 + d34717d commit b314cc4Copy full SHA for b314cc4
modules/core/include/opencv2/core/eigen.hpp
@@ -58,11 +58,13 @@
58
#pragma warning( disable: 4244 ) //conversion from '__int64' to 'int', possible loss of data
59
#endif
60
61
+#if !defined(OPENCV_DISABLE_EIGEN_TENSOR_SUPPORT)
62
#if EIGEN_WORLD_VERSION == 3 && EIGEN_MAJOR_VERSION >= 3 \
63
&& defined(CV_CXX11) && defined(CV_CXX_STD_ARRAY)
64
#include <unsupported/Eigen/CXX11/Tensor>
-#define OPENCV_EIGEN_TENSOR_SUPPORT
65
-#endif // EIGEN_WORLD_VERSION == 3 && EIGEN_MAJOR_VERSION >= 3
+#define OPENCV_EIGEN_TENSOR_SUPPORT 1
66
+#endif // EIGEN_WORLD_VERSION == 3 && EIGEN_MAJOR_VERSION >= 3
67
+#endif // !defined(OPENCV_DISABLE_EIGEN_TENSOR_SUPPORT)
68
69
namespace cv
70
{
0 commit comments