Skip to content
Permalink
Browse files

fixed MatrixProxy for OpenCV

  • Loading branch information...
PolarNick239 committed Jul 29, 2019
1 parent d7b9cc9 commit 7f31666ce2a7fcd98a6ac937949046873a5952a5
Showing with 1 addition and 1 deletion.
  1. +1 −1 kgraph-data.h
@@ -215,7 +215,7 @@ namespace kgraph {
if (stride % A) throw invalid_argument("bad alignment");
}
#endif
#ifdef __OPENCV_CORE_HPP__
#ifdef CV_MAJOR_VERSION
/// Construct from OpenCV matrix.
MatrixProxy (cv::Mat const &m)
: rows(m.rows), cols(m.cols), stride(m.step), data(m.data) {

0 comments on commit 7f31666

Please sign in to comment.
You can’t perform that action at this time.