Skip to content

Commit 374e321

Browse files
alalekvpisarev
authored andcommitted
build warning (#1400)
1 parent 41995b7 commit 374e321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/tracking/src/trackerKCF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ namespace cv{
604604
bool oclSucceed = false;
605605
Size s(pca_data.cols, pca_data.cols);
606606
UMat result(s, pca_data.type());
607-
if (oclTransposeMM(pca_data, 1.0/(float)(src.rows*src.cols-1), result)) {
607+
if (oclTransposeMM(pca_data, 1.0f/(float)(src.rows*src.cols-1), result)) {
608608
if(old_cov.rows==0) old_cov=result.getMat(ACCESS_READ).clone();
609609
SVD::compute((1.0-pca_rate)*old_cov + pca_rate * result.getMat(ACCESS_READ), w, u, vt);
610610
oclSucceed = true;

0 commit comments

Comments
 (0)