From 3ad6d13ff3bd2cee665fa5596a9bf47c7c9868d5 Mon Sep 17 00:00:00 2001 From: Fangjun KUANG Date: Tue, 14 Mar 2017 09:57:37 +0100 Subject: [PATCH] Fix an error in the documentation. --- modules/core/include/opencv2/core/mat.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/include/opencv2/core/mat.hpp b/modules/core/include/opencv2/core/mat.hpp index 331835d5ac..7588ffe2d2 100644 --- a/modules/core/include/opencv2/core/mat.hpp +++ b/modules/core/include/opencv2/core/mat.hpp @@ -2287,9 +2287,9 @@ public: UMat colRange(int startcol, int endcol) const; UMat colRange(const Range& r) const; //! ... for the specified diagonal - // (d=0 - the main diagonal, - // >0 - a diagonal from the lower half, - // <0 - a diagonal from the upper half) + //! (d=0 - the main diagonal, + //! >0 - a diagonal from the upper half, + //! <0 - a diagonal from the lower half) UMat diag(int d=0) const; //! constructs a square diagonal matrix which main diagonal is vector "d" static UMat diag(const UMat& d);