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
bfe5ed23
Commit
bfe5ed23
authored
Dec 10, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5657 from tianzhi0549:fixed-the-type-inconsistent-with-document
parents
a0f6cd8d
f0434d60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
em.cpp
modules/ml/src/em.cpp
+2
-2
No files found.
modules/ml/src/em.cpp
View file @
bfe5ed23
...
...
@@ -161,7 +161,7 @@ public:
{
bool
needprobs
=
_outputs
.
needed
();
Mat
samples
=
_inputs
.
getMat
(),
probs
,
probsrow
;
int
ptype
=
CV_
32
F
;
int
ptype
=
CV_
64
F
;
float
firstres
=
0.
f
;
int
i
,
nsamples
=
samples
.
rows
;
...
...
@@ -187,7 +187,7 @@ public:
Vec2d
predict2
(
InputArray
_sample
,
OutputArray
_probs
)
const
{
int
ptype
=
CV_
32
F
;
int
ptype
=
CV_
64
F
;
Mat
sample
=
_sample
.
getMat
();
CV_Assert
(
isTrained
());
...
...
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