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
41a35c3c
Commit
41a35c3c
authored
Aug 15, 2011
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug #1306 (Vec assignment)
parent
14c05d9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
core.hpp
modules/core/include/opencv2/core/core.hpp
+0
-1
operations.hpp
modules/core/include/opencv2/core/operations.hpp
+1
-9
No files found.
modules/core/include/opencv2/core/core.hpp
View file @
41a35c3c
...
@@ -592,7 +592,6 @@ public:
...
@@ -592,7 +592,6 @@ public:
explicit
Vec
(
const
_Tp
*
values
);
explicit
Vec
(
const
_Tp
*
values
);
Vec
(
const
Vec
<
_Tp
,
cn
>&
v
);
Vec
(
const
Vec
<
_Tp
,
cn
>&
v
);
Vec
<
_Tp
,
cn
>&
operator
=
(
const
Matx
<
_Tp
,
cn
,
1
>&
m
);
static
Vec
all
(
_Tp
alpha
);
static
Vec
all
(
_Tp
alpha
);
...
...
modules/core/include/opencv2/core/operations.hpp
View file @
41a35c3c
...
@@ -1038,15 +1038,7 @@ template<typename _Tp, int cn> template<typename _T2> inline
...
@@ -1038,15 +1038,7 @@ template<typename _Tp, int cn> template<typename _T2> inline
Vec
<
_Tp
,
cn
>::
Vec
(
const
Matx
<
_Tp
,
cn
,
1
>&
a
,
_T2
alpha
,
Matx_ScaleOp
op
)
Vec
<
_Tp
,
cn
>::
Vec
(
const
Matx
<
_Tp
,
cn
,
1
>&
a
,
_T2
alpha
,
Matx_ScaleOp
op
)
:
Matx
<
_Tp
,
cn
,
1
>
(
a
,
alpha
,
op
)
:
Matx
<
_Tp
,
cn
,
1
>
(
a
,
alpha
,
op
)
{}
{}
template
<
typename
_Tp
,
int
cn
>
inline
Vec
<
_Tp
,
cn
>&
Vec
<
_Tp
,
cn
>::
operator
=
(
const
Matx
<
_Tp
,
cn
,
1
>&
m
)
{
for
(
int
i
=
0
;
i
<
cn
;
i
++
)
this
->
val
[
i
]
=
m
.
val
[
i
];
return
*
this
;
}
template
<
typename
_Tp
,
int
cn
>
inline
Vec
<
_Tp
,
cn
>
Vec
<
_Tp
,
cn
>::
all
(
_Tp
alpha
)
template
<
typename
_Tp
,
int
cn
>
inline
Vec
<
_Tp
,
cn
>
Vec
<
_Tp
,
cn
>::
all
(
_Tp
alpha
)
{
{
Vec
v
;
Vec
v
;
...
...
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