Skip to content

Commit 3ad6d13

Browse files
authored
Fix an error in the documentation.
1 parent 502aa1f commit 3ad6d13

File tree

1 file changed

+3
-3
lines changed
  • modules/core/include/opencv2/core

1 file changed

+3
-3
lines changed

modules/core/include/opencv2/core/mat.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2287,9 +2287,9 @@ class CV_EXPORTS UMat
22872287
UMat colRange(int startcol, int endcol) const;
22882288
UMat colRange(const Range& r) const;
22892289
//! ... for the specified diagonal
2290-
// (d=0 - the main diagonal,
2291-
// >0 - a diagonal from the lower half,
2292-
// <0 - a diagonal from the upper half)
2290+
//! (d=0 - the main diagonal,
2291+
//! >0 - a diagonal from the upper half,
2292+
//! <0 - a diagonal from the lower half)
22932293
UMat diag(int d=0) const;
22942294
//! constructs a square diagonal matrix which main diagonal is vector "d"
22952295
static UMat diag(const UMat& d);

0 commit comments

Comments
 (0)