Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
6c58a22e
Commit
6c58a22e
authored
Apr 03, 2013
by
Andrey Kamaev
Committed by
OpenCV Buildbot
Apr 03, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #743 from jet47:fix-sparsemat-iterator
parents
d7a7d05d
9d7e51eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
core.hpp
modules/core/include/opencv2/core/core.hpp
+2
-0
mat.hpp
modules/core/include/opencv2/core/mat.hpp
+12
-0
No files found.
modules/core/include/opencv2/core/core.hpp
View file @
6c58a22e
...
...
@@ -3767,6 +3767,7 @@ public:
SparseMatConstIterator_
();
//! the full constructor setting the iterator to the first sparse matrix element
SparseMatConstIterator_
(
const
SparseMat_
<
_Tp
>*
_m
);
SparseMatConstIterator_
(
const
SparseMat
*
_m
);
//! the copy constructor
SparseMatConstIterator_
(
const
SparseMatConstIterator_
&
it
);
...
...
@@ -3796,6 +3797,7 @@ public:
SparseMatIterator_
();
//! the full constructor setting the iterator to the first sparse matrix element
SparseMatIterator_
(
SparseMat_
<
_Tp
>*
_m
);
SparseMatIterator_
(
SparseMat
*
_m
);
//! the copy constructor
SparseMatIterator_
(
const
SparseMatIterator_
&
it
);
...
...
modules/core/include/opencv2/core/mat.hpp
View file @
6c58a22e
...
...
@@ -2530,6 +2530,13 @@ SparseMatConstIterator_<_Tp>::SparseMatConstIterator_(const SparseMat_<_Tp>* _m)
:
SparseMatConstIterator
(
_m
)
{}
template
<
typename
_Tp
>
inline
SparseMatConstIterator_
<
_Tp
>::
SparseMatConstIterator_
(
const
SparseMat
*
_m
)
:
SparseMatConstIterator
(
_m
)
{
CV_Assert
(
_m
->
type
()
==
DataType
<
_Tp
>::
type
);
}
template
<
typename
_Tp
>
inline
SparseMatConstIterator_
<
_Tp
>::
SparseMatConstIterator_
(
const
SparseMatConstIterator_
<
_Tp
>&
it
)
:
SparseMatConstIterator
(
it
)
...
...
@@ -2569,6 +2576,11 @@ SparseMatIterator_<_Tp>::SparseMatIterator_(SparseMat_<_Tp>* _m)
:
SparseMatConstIterator_
<
_Tp
>
(
_m
)
{}
template
<
typename
_Tp
>
inline
SparseMatIterator_
<
_Tp
>::
SparseMatIterator_
(
SparseMat
*
_m
)
:
SparseMatConstIterator_
<
_Tp
>
(
_m
)
{}
template
<
typename
_Tp
>
inline
SparseMatIterator_
<
_Tp
>::
SparseMatIterator_
(
const
SparseMatIterator_
<
_Tp
>&
it
)
:
SparseMatConstIterator_
<
_Tp
>
(
it
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment