Skip to content
Permalink
Browse files

Merge pull request #33 from PolarNick239/master

fixed MatrixProxy for OpenCV
  • Loading branch information...
aaalgo committed Jul 29, 2019
2 parents d7b9cc9 + 7f31666 commit 2c924aab832e63c6ae6c821c1d0466a9df0ea29e
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 2c924aa

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