added assert
This commit is contained in:
parent
84aff376a7
commit
5ce2997c84
@ -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_DbgAssert(sample.rows == 1);
|
||||
CV_Assert(sample.rows == 1);
|
||||
|
||||
int dim = sample.cols;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user