projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84aff37
)
added assert
author
Maria Dimashova
<no@email>
Fri, 6 Apr 2012 17:10:26 +0000
(17:10 +0000)
committer
Maria Dimashova
<no@email>
Fri, 6 Apr 2012 17:10:26 +0000
(17:10 +0000)
modules/ml/src/em.cpp
patch
|
blob
|
history
diff --git
a/modules/ml/src/em.cpp
b/modules/ml/src/em.cpp
index
7b9fc68
..
938e7e2
100644
(file)
--- a/
modules/ml/src/em.cpp
+++ b/
modules/ml/src/em.cpp
@@
-448,7
+448,7
@@
void EM::computeProbabilities(const Mat& sample, int& label, Mat* probs, float*
// q = arg(max_k(L_ik))
// probs_ik = exp(L_ik - L_iq) / (1 + sum_j!=q (exp(L_jk))
- CV_
Dbg
Assert(sample.rows == 1);
+ CV_Assert(sample.rows == 1);
int dim = sample.cols;