Skip to content

Commit 502aa1f

Browse files
committed
Merge pull request opencv#8368 from csukuangfj:patch-5
2 parents fdda19c + 95468b7 commit 502aa1f

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ sub-matrices.
660660
661661
- Use MATLAB-style array initializers, zeros(), ones(), eye(), for example:
662662
@code
663-
// create a double-precision identity martix and add it to M.
663+
// create a double-precision identity matrix and add it to M.
664664
M += Mat::eye(M.rows, M.cols, CV_64F);
665665
@endcode
666666
@@ -693,7 +693,7 @@ If you need to process a whole row of a 2D array, the most efficient way is to g
693693
the row first, and then just use the plain C operator [] :
694694
@code
695695
// compute sum of positive matrix elements
696-
// (assuming that M isa double-precision matrix)
696+
// (assuming that M is a double-precision matrix)
697697
double sum=0;
698698
for(int i = 0; i < M.rows; i++)
699699
{

0 commit comments

Comments
 (0)