1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 04:25:42 +08:00

fixed warnings

This commit is contained in:
Ilya Lavrenov
2014-07-04 10:57:08 +04:00
parent c064042c33
commit 89cd87107f
2 changed files with 4 additions and 4 deletions

View File

@@ -136,7 +136,7 @@ namespace cv{
}
_logweight.create(1,_particles.rows);
_logweight.setTo(-log(_particles.rows));
_logweight.setTo(-log((double)_particles.rows));
return 0.0;
}