mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Fixed issues found by static analysis (mostly DBZ)
This commit is contained in:
@@ -616,6 +616,7 @@ public:
|
||||
expDiffSum += v; // sum_j(exp(L_ij - L_iq))
|
||||
}
|
||||
|
||||
CV_Assert(expDiffSum > 0);
|
||||
if(probs)
|
||||
L.convertTo(*probs, ptype, 1./expDiffSum);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user